Application build in Eclipse gives error

Amarnath MB amarnath.mb at mistralsolutions.com
Thu Mar 28 08:49:44 UTC 2019


Hi All,

I have been building the application for a custom ARM926EJ-S SoC using
RTEMS CDT in eclipse, unfortunately from yesterday onwards I'm getting this
below error

Building target: RTEMS_APP.exe
Invoking: RTEMS Linker
C:/opt/RTEMS/5.00/compiler/5/bin/arm-rtems5-gcc
-BC:/opt/RTEMS/5.00/bsps/5.00/SoCV1/arm-rtems5/SoCV1/lib/ -specs bsp_specs
-qrtems -ffunction-sections -fdata-sections -mcpu=arm926ej-s -mfpu=vfp
-mfloat-abi=hard -Wl,--gc-sections -o "RTEMS_APP.exe"  ./init.o
c:/opt/rtems/5.00/compiler/5/bin/../lib/gcc/arm-rtems5/7.4.0/../../../../arm-rtems5/bin/ld.exe:
cannot find crti.o: No such file or directory
c:/opt/rtems/5.00/compiler/5/bin/../lib/gcc/arm-rtems5/7.4.0/../../../../arm-rtems5/bin/ld.exe:
cannot find crtbegin.o: No such file or directory
c:/opt/rtems/5.00/compiler/5/bin/../lib/gcc/arm-rtems5/7.4.0/../../../../arm-rtems5/bin/ld.exe:
cannot find -lgcc
c:/opt/rtems/5.00/compiler/5/bin/../lib/gcc/arm-rtems5/7.4.0/../../../../arm-rtems5/bin/ld.exe:
cannot find -latomic
c:/opt/rtems/5.00/compiler/5/bin/../lib/gcc/arm-rtems5/7.4.0/../../../../arm-rtems5/bin/ld.exe:
cannot find -lc
c:/opt/rtems/5.00/compiler/5/bin/../lib/gcc/arm-rtems5/7.4.0/../../../../arm-rtems5/bin/ld.exe:
cannot find -lgcc
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:51: RTEMS_APP.exe] Error 1


My development platform is MingW64 on Windows 10.
The strange part is that when I build my BSP from MingW shell then this
error is not reported and everything gets built successfully. Once I
install my bsp and use it in eclipse to build application it gives the
above error.

After some googling, I came to know that this is some issue related to the
Linker standard path.

Can anyone help me solve this error?

*Thank you & Regards,*
*Amarnath MB*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20190328/cbf78788/attachment.html>


More information about the users mailing list