Hi all,
I am trying to build my project consisting of only c files in CCS version: 5.5.0.00077
I am using the GNU V4.7.3 compiler and the target device is tm4c129xnczad.
I have referred to http://processors.wiki.ti.com/index.php/Using_GCC_with_Tiva_in_CCSv6 document for using GNU compiler on CCS.
My project build and runs correctly when using TI ARM compiler. But when i use GNU compiler i get the linker error as below:
" c:/ti/ccsv5/tools/compiler/gcc-arm-none-eabi-4_7-2012q4/bin/../lib/gcc/arm-none-eabi/4.7.3/../../../../arm-none-eabi/lib/armv7e-m/softfp\libnosys.a(sbrk.o): In function `_sbrk':
sbrk.c:(.text._sbrk+0x2): undefined reference to `end'
sbrk.c:(.text._sbrk+0x8): undefined reference to `end'
collect2.exe: error: ld returned 1 exit status
gmake: *** [acs_ccs_project_temp.out] Error 1
gmake: Target `all' not remade because of errors. "
I am not able to figure out what could be wrong. I have made sure the paths of the libraries and include files and pre processor directives have been given properly,
Thanks.
Regards,
Sreenivasa