Application build in Eclipse gives error
Joel Sherrill
joel at rtems.org
Thu Mar 28 13:20:57 UTC 2019
This is going to sound like a stupid question but has part of the toolset
been deleted? Search for those libraries at the install point. It is
unusual to see that set.
On Thu, Mar 28, 2019, 3:50 AM Amarnath MB <amarnath.mb at mistralsolutions.com>
wrote:
> 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*
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20190328/1987b746/attachment-0002.html>
More information about the users
mailing list