This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DSPLIB Linux Makefile - has Windows file paths?

Hello all,

Today I have been working with TI's linux DSPLIB_C66x_3_1_1_1<LINK>

I discovered that in the makefile provided, the file paths for the CCSv5 install directory and the DSPLIB_INSTALL_DIR are Windows style paths, i.e.

C:/Program Files/Texas Instruments/ccsv5

Obviously I can change these 2 paths myself, but the similar "C:/..." style path names are dozens of places in the makefile.

Will the makefile update itself, one it realizes it isn't in Windows?  Or do all those other paths not matter as long as I change the 2 INSTALL_DIR paths in the makefile?  Please excuse my ignorance, as I'm not well versed with linux & makefiles.

BTW, I came across this question while following the "DSPLIB CCS Build Process instructions"  (found @ ..{INSTALL_DIR}/dsplib_c66x_3_1_1_1/docs/doxygen/html/ccsbuild.html) in the DSPLIB User's Manual.

  • I presume you're just concerned about the "/" forward slash instead of "\" reverse slash.

    I'm pretty sure you can use forward slashes throughout the makefile.  I would be surprised if it didn't work.  Have you tried it?

    Thanks and regards,

    -George 

  • Thanks for the quick reply George.

    No, actually I'm not concerned with the slashes, but rather the directory starting with C:/

    For example,

    • C:/Program Files/Texas Instruments/ccsv5
    • C:/Temp/workspace

    as I mentioned in my original post.

    Note that the second bullet "C:/Temp/workspace" in particular is listed many many places in the makefile.

    To answer your question: no it does not workI can not get the DSPLIB Build Procedure to work.  I am following the directions from the DSPLIB User's Manual as explicitly as possible.  Should I ask for help in a different forum?

  • Hi Chris,

    I apologize for the late reply. The current release of DSPLIB does not support re-building the binaries in a Linux environment. However, a few changes to the makefile allowed me to rebuild the binaries in Linux. Please follow the steps below:

    1) If you do not have CGT 7.2.4 installed, install it or change the CCSCGTVER to the current CGT installed.
    2) Remove the CCSV4/5 lines, replace with:

            export CCS_INSTALL_DIR ?= [Path to CCS directory, i.e. "~/ti/ccsv5"]
            export ECLIPSE_CMD ?= "$(CCS_INSTALL_DIR)/eclipse/eclipse" -noSplash

    3) Remove the following lines:

            ifneq ($(findstring $(CCSVERSION), CCSV4.2),)
                export CCS_INSTALL_DIR ?= $(CCSV4_INSTALL_DIR)
                export ECLIPSE_CMD ?= java -jar "$(CCS_INSTALL_DIR)/eclipse/startup.jar"
            endif

            ifneq ($(findstring $(CCSVERSION), CCSV5),)
                export CCS_INSTALL_DIR ?= $(CCSV5_INSTALL_DIR)
                export ECLIPSE_CMD ?= "$(CCS_INSTALL_DIR)/eclipse/eclipsec.exe" -noSplash
            endif

    4) Replace the DSPLIB_INSTALL_DIR value with your local dsplib directory location
    5) Replace RMDIR with rm -rf
    6) Replace all occurrences of "C:/Temp/workspaces" with another temporary location (i.e. "/tmp/workspace")
    7) Replace all occurrences of Package.bld and Package.mak with package.bld and package.mak, accordingly

    This should allow you to build using make all.