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.

Building Starterware projects in CCS using GCC

Hi TI team,
I'd want to build Starterware projects in CCSv6 using GCC.
But I got an error message.
Please give me some suggestion.
Thanks a lot.

Environment:
Code Composer Studio Version: 6.1.1.00022
AM335X_StarterWare_02_00_01_01
processors.wiki.ti.com/.../Building_Starterware_projects_in_CCSv5_using_GCC
processors.wiki.ti.com/.../StarterWare_Getting_Started_02.00.XX.XX

CCS LOG:
01:38:44 **** Build of configuration Default for project gpio ****
make all
make TARGET_MODE=debug lib
make[1]: Entering directory '/cygdrive/c/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/am335x/beaglebone/gpio'
make[2]: Entering directory '/cygdrive/c/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/am335x/drivers'
make[2]: 'debug' is up to date.
make[2]: Leaving directory '/cygdrive/c/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/am335x/drivers'
make[2]: Entering directory '/cygdrive/c/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/am335x/beaglebone/platform'
make[2]: 'debug' is up to date.
make[2]: Leaving directory '/cygdrive/c/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/am335x/beaglebone/platform'
make[2]: Entering directory '/cygdrive/c/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/am335x/system_config'
make[2]: 'debug' is up to date.
make[2]: Leaving directory '/cygdrive/c/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/am335x/system_config'
make[2]: Entering directory '/cygdrive/c/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/utils'
make[2]: 'debug' is up to date.
make[2]: Leaving directory '/cygdrive/c/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/utils'
make[1]: Leaving directory '/cygdrive/c/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/am335x/beaglebone/gpio'
make TARGET_MODE=Debug bin
make[1]: Entering directory '/cygdrive/c/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/am335x/beaglebone/gpio'
arm-none-eabi-gcc -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -c -g -mlong-calls -fdata-sections -funsigned-char -ffunction-sections -Wall -I../../../../../..//include -I../../../../../..//include/hw -I../../../../../..//include/armv7a -I../../../../../..//include/armv7a/am335x -I../../../../../..//grlib/include -I../../../../../..//usblib/include -I../../../../../..//ipclite/include -I../../../../../..//nandlib/include -I../../../../../..//mmcsdlib/include -I../../../../../..//bootloader/include -I../../../../../../third_party/fatfs/src -I../../../../../..//norlib/include -I"C:\Program Files (x86)\GNU Tools ARM Embedded\4.7 2012q4/include" -Dgcc -Dam335x -Dbeaglebone -D SUPPORT_UNALIGNED -D MMCSD -DUARTCONSOLE ../../../../../../examples/beaglebone/gpio//*.c
arm-none-eabi-ld -e Entry -u Entry -u __aeabi_uidiv -u __aeabi_idiv --gc-sections -L"C:\Program Files (x86)\GNU Tools ARM Embedded\4.7 2012q4/arm-none-eabi/lib/" -L"C:\Program Files (x86)\GNU Tools ARM Embedded\4.7 2012q4/lib/gcc/arm-none-eabi/4.7.3/" -L../../../../../..//binary/armv7a/gcc/am335x/drivers/Debug -L../../../../../..//binary/armv7a/gcc/am335x/beaglebone/platform/Debug -L../../../../../..//binary/armv7a/gcc/am335x/system_config/Debug -L../../../../../..//binary/armv7a/gcc/am335x/ipclite/Debug -L../../../../../..//binary/armv7a/gcc/utils/Debug -L../../../../../..//binary/armv7a/gcc/am335x/usblib/Debug -L../../../../../..//binary/armv7a/gcc/grlib/Debug -L../../../../../..//binary/armv7a/gcc/nandlib/Debug -L../../../../../..//binary/armv7a/gcc/mmcsdlib/Debug -L/Debug -o Debug/gpioLedBlink.out \
-Map Debug/gpioLedBlink.map Debug/*.o* \
-ldrivers -lutils -lplatform -lsystem_config -lc -lgcc -ldrivers -lutils -lplatform -lsystem_config -lc -lgcc -T gpioLedBlink.lds
C:\Program Files (x86)\GNU Tools ARM Embedded\4.7 2012q4\bin\arm-none-eabi-ld.exe: cannot find -lsystem_config
C:\Program Files (x86)\GNU Tools ARM Embedded\4.7 2012q4\bin\arm-none-eabi-ld.exe: cannot find -lsystem_config
makefile:113: recipe for target 'bin' failed
make[1]: *** [bin] Error 1
make[1]: Leaving directory '/cygdrive/c/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/am335x/beaglebone/gpio'
makefile:95: recipe for target 'debug' failed
make: *** [debug] Error 2

01:38:46 Build Finished (took 1s.284ms)

From Will Hsu

  • Hi ,

    Tool chain path is not proper. It is taking "C:\Program Files (x86)\GNU Tools ARM Embedded\4.7 2012q4".

    Set the proper path as per the tool chain available with CCS. 

    Ex: C:\ti\ccsv6\tools\compiler\gcc-arm-none-eabi-4_8-2014q3 with Code Composer Studio Version: 6.1.1.00022.

     

    -Murali Krishna Dama