I have successfully configured a Linux/Ubuntu + Eclipse + openocd software development environment for the TIVA TM4C123 micro-controller. I pretty much followed Kernel Hacks and made necessary changes to incorporate the advances in tools. I have tested the environment/configuration by created in simple blinky and UART C project, and everything works well.
Question: I have tried to create a simple blinky C++ project and I get the following errors. Based on the errors I believe the .ld file might need to be updated, but not sure where to start. Any help is appreciated. I also can provided additional information to resolve this issue.
Invoking: Cross GCC Compiler arm-none-eabi-gcc -DPART_TM4C1233H6PM -D ARM_MATH_CM4 -DTARGET_IS_BLIZZARD_RA1 -I/home/userid/SW-TM4C- 2.1.0.12573 -O0 -g3 -Wall -c -fmessage-length=0 -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -ffunction-sections -fdata-sections -MMD -MP -MF"startup_gcc.d" -MT"startup_gcc.d" -o "startup_gcc.o" " ../startup_gcc.c" ../startup_gcc.c: In function 'ResetISR': ../startup_gcc.c:245:26: warning: unused variable 'pui32Dest' [-Wunused-variable] uint32_t *pui32Src, *pui32Dest; ^ ../startup_gcc.c:245:15: warning: variable 'pui32Src' set but not used [-Wunused-but-set-variable] uint32_t *pui32Src, *pui32Dest; ^ Finished building: ../startup_gcc.c Building target: Tiva_Project01.elf Invoking: Cross G++ Linker arm-none-eabi-g++ -L/home/userid/SW-TM4C-2.1.0.12573/driverlib/gcc -o "Tiva_Project01.elf" ./main.o ./startup_gcc.o -ldriver /home/userid/MentorGraphics/Sourcery_CodeBench_Lite_for_ARM_EABI/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 00008018 ./startup_gcc.o: In function `zero_loop': startup_gcc.c:(.text.ResetISR+0x44): undefined reference to `_bss' startup_gcc.c:(.text.ResetISR+0x48): undefined reference to `_ebss' collect2: error: ld returned 1 exit status make: *** [Tiva_Project01.elf] Error 1
Thank you in advance