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.

problem when compile a starterware example in cygwin

Hello! when I try to compile a starterware example, I encounter a problem :

make TARGET_MODE=debug lib
make[1]: Entering directory '/cygdrive/d/ti/AM335X_StarterWare_02_00_01_01/build /armv7a/gcc/am335x/evmskAM335x/game'
make[2]: Entering directory '/cygdrive/d/ti/AM335X_StarterWare_02_00_01_01/build /armv7a/gcc/am335x/drivers'
mkdir -p Debug
arm-none-eabi-gcc -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -c -mlong-cal ls -fdata-sections -funsigned-char -ffunction-sections -Wall -I../../../../..//i nclude -I../../../../..//include/hw -I../../../../..//include/armv7a -I../../../ ../..//include/armv7a/am335x -I../../../../..//grlib/include -I../../../../..//u sblib/include -I../../../../..//ipclite/include -I../../../../..//nandlib/includ e -I../../../../..//mmcsdlib/include -I../../../../..//bootloader/include -I../. ./../../../third_party/fatfs/src -I../../../../..//norlib/include -I"/opt/gcc-ar m-none-eabi/include" -Dgcc -Dam335x -D SUPPORT_UNALIGNED -D MMCSD -DUARTCONSOLE -g ../../../../..//drivers/dmtimer.c ../../../../..//drivers/uart_irda_cir.c .. /../../../..//drivers/ecap.c ../../../../..//drivers/ehrpwm.c ../../../../..//dr ivers/mcspi.c ../../../../..//drivers/mcasp.c ../../../../..//drivers/mdio.c ../ ../../../..//drivers/phy.c ../../../../..//drivers/cpsw.c ../../../../..//driver s/hsi2c.c ../../../../..//drivers/gpio_v2.c ../../../../..//drivers/watchdog.c . ./../../../..//drivers/edma.c ../../../../..//drivers/rtc.c ../../../../..//driv ers/raster.c ../../../../..//drivers/gpmc.c ../../../../..//drivers/elm.c ../../ ../../..//drivers/tsc_adc.c ../../../../..//drivers/hs_mmcsd.c ../../../../..//d rivers/mailbox.c ../../../../..//drivers/usb.c ../../../../..//drivers/cppi41dma .c ../../../../..//drivers/dcan.c ../../../../..//drivers/usbphyGS70.c
arm-none-eabi-ar -c -r Debug/libdrivers.a *.o*
make[2]: Leaving directory '/cygdrive/d/ti/AM335X_StarterWare_02_00_01_01/build/ armv7a/gcc/am335x/drivers'
make[2]: Entering directory '/cygdrive/d/ti/AM335X_StarterWare_02_00_01_01/build /armv7a/gcc/am335x/evmskAM335x/platform'
mkdir -p Debug
arm-none-eabi-gcc -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -c -mlong-cal ls -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"/opt/gcc-arm-none-eabi/include" -Dgcc -Dam335x -DevmskA M335x -D SUPPORT_UNALIGNED -D MMCSD -DUARTCONSOLE -g ../../../../../..//platform /evmskAM335x/hsi2c.c ../../../../../..//platform/evmskAM335x/dmtimer.c ../../../ ../../..//platform/evmskAM335x/uart.c ../../../../../..//platform/evmskAM335x/ua rtConsole.c ../../../../../..//platform/evmskAM335x/tscAdc.c ../../../../../..// platform/evmskAM335x/sysdelay.c ../../../../../..//platform/evmskAM335x/sysperf. c ../../../../../..//platform/evmskAM335x/lcd.c ../../../../../..//platform/evms kAM335x/gpio.c ../../../../../..//platform/evmskAM335x/watchdog.c ../../../../.. /..//platform/evmskAM335x/mcasp.c ../../../../../..//platform/evmskAM335x/cpsw.c ../../../../../..//platform/evmskAM335x/edma.c ../../../../../..//platform/evms kAM335x/rtc.c ../../../../../..//platform/evmskAM335x/board.c ../../../../../../ /platform/evmskAM335x/usb.c ../../../../../..//platform/evmskAM335x/hs_mmcsd.c . ./../../../../..//platform/evmskAM335x/ctlregcontext.c ../../../../../..//platfo rm/evmskAM335x/pwmss.c ../../../../../..//platform/evmskAM335x/eeprom.c
arm-none-eabi-ar -c -r Debug/libplatform.a *.o*
make[2]: Leaving directory '/cygdrive/d/ti/AM335X_StarterWare_02_00_01_01/build/ armv7a/gcc/am335x/evmskAM335x/platform'
make[2]: Entering directory '/cygdrive/d/ti/AM335X_StarterWare_02_00_01_01/build /armv7a/gcc/am335x/system_config'
mkdir -p Debug
arm-none-eabi-gcc -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -c -mlong-cal ls -fdata-sections -funsigned-char -ffunction-sections -Wall -I../../../../..//i nclude -I../../../../..//include/hw -I../../../../..//include/armv7a -I../../../ ../..//include/armv7a/am335x -I../../../../..//grlib/include -I../../../../..//u sblib/include -I../../../../..//ipclite/include -I../../../../..//nandlib/includ e -I../../../../..//mmcsdlib/include -I../../../../..//bootloader/include -I../. ./../../../third_party/fatfs/src -I../../../../..//norlib/include -I"/opt/gcc-ar m-none-eabi/include" -Dgcc -Dam335x -D SUPPORT_UNALIGNED -D MMCSD -DUARTCONSOLE -mfpu=neon -mfloat-abi=softfp -g ../../../../..//system_config/armv7a/mmu.c ../ ../../../..//system_config/armv7a/cache.c ../../../../..//system_config/armv7a/g cc/cpu.c ../../../../..//system_config/armv7a/gcc/cp15.S ../../../../..//system_ config/armv7a/gcc/init.S ../../../../..//system_config/armv7a/am335x/interrupt.c ../../../../..//system_config/armv7a/am335x/startup.c ../../../../..//system_co nfig/armv7a/am335x/clock.c ../../../../..//system_config/armv7a/am335x/device.c ../../../../..//system_config/armv7a/am335x/gcc/exceptionhandler.S
arm-none-eabi-ar -c -r Debug/libsystem_config.a *.o*
make[2]: Leaving directory '/cygdrive/d/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/am335x/system_config'
make[2]: Entering directory '/cygdrive/d/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/utils'
mkdir -p Debug
arm-none-eabi-gcc -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -c -mlong-calls -fdata-sections -funsigned-char -ffunc tion-sections -Wall -I../../../..//include -I../../../..//include/hw -I../../../..//include/armv7a -I../../../..//include /armv7a/ -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"/opt/gcc-arm-none-eabi/include" -Dgcc -D SUPPORT_UNALIGNED -D MMCSD -DUARTCONSOLE -g ../../../.. //utils/ascii.c ../../../..//utils/cmdline.c ../../../..//utils/delay.c ../../../..//utils/perf.c ../../../..//utils/syst ick.c ../../../..//utils/misc.c ../../../..//utils/uartStdio.c ../../../..//utils/board.c ../../../..//utils/consoleUtils .c
arm-none-eabi-ar -c -r Debug/libutils.a *.o*
make[2]: Leaving directory '/cygdrive/d/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/utils'
make[2]: Entering directory '/cygdrive/d/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/grlib'
mkdir -p Debug
arm-none-eabi-gcc -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a -c -mlong-calls -fdata-sections -funsigned-char -ffunc tion-sections -Wall -I../../../..//include -I../../../..//include/hw -I../../../..//include/armv7a -I../../../..//include /armv7a/ -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"/opt/gcc-arm-none-eabi/include" -Dgcc -D SUPPORT_UNALIGNED -D MMCSD -DUARTCONSOLE -Darmv7a -g .. /../../..//grlib/*.c ../../../..//grlib/fonts/*.c
arm-none-eabi-ar -c -r Debug/libgrlib.a *.o*
make[2]: Leaving directory '/cygdrive/d/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/grlib'
make[1]: Leaving directory '/cygdrive/d/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/am335x/evmskAM335x/game'
make TARGET_MODE=Debug bin
make[1]: Entering directory '/cygdrive/d/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/am335x/evmskAM335x/game'
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"/opt/gcc-arm-none-eabi/include" -Dgcc -Dam335x -DevmskAM335x -D SUPPORT_UNALIGNED -D MMCSD -DUARTCONSOLE ../../../../../../examples/evmskAM335x/game//*.c
arm-none-eabi-ld -e Entry -u Entry -u __aeabi_uidiv -u __aeabi_idiv --gc-sections -L"/opt/gcc-arm-none-eabi/arm-none-eabi/lib/" -L"/opt/gcc-arm-none-eabi/lib/gcc/arm-none-eabi/4.7.3/" -L../../../../../..//binary/armv7a/gcc/am335x/drivers/Debug -L../../../../../..//binary/armv7a/gcc/am335x/evmskAM335x/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/game.out \
-Map Debug/game.map Debug/*.o* \
-ldrivers -lutils -lplatform -lsystem_config -lgrlib -lc -lgcc -ldrivers -lutils -lplatform -lsystem_config -lgrlib -lc -lgcc -T game.lds
D:\cygwin64\opt\gcc-arm-none-eabi\bin\arm-none-eabi-ld.exe: cannot find -lc
D:\cygwin64\opt\gcc-arm-none-eabi\bin\arm-none-eabi-ld.exe: cannot find -lgcc
D:\cygwin64\opt\gcc-arm-none-eabi\bin\arm-none-eabi-ld.exe: cannot find -lc
D:\cygwin64\opt\gcc-arm-none-eabi\bin\arm-none-eabi-ld.exe: cannot find -lgcc
makefile:114: recipe for target 'bin' failed
make[1]: *** [bin] Error 1
make[1]: Leaving directory '/cygdrive/d/ti/AM335X_StarterWare_02_00_01_01/build/armv7a/gcc/am335x/evmskAM335x/game'
makefile:96: recipe for target 'debug' failed
make: *** [debug] Error 2

I follow the steps in http://processors.wiki.ti.com/index.php/AM335X_StarterWare_Environment_Setup#TMS470_from_CCS_project

and I have already set the LIB_PATH, now I have no idea about this.

(The installation directory of Linaro tool chain:D:\cygwin64\opt\gcc-arm-none-eabi

the LIB_PATH:/opt/gcc-arm-none-eabi