Problem with LD and Eclipse plug-in
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Mar 24 07:38:36 UTC 2011
On 03/23/2011 07:43 PM, Alejandro Perez wrote:
> Hi all, im a new RTEMS user. I'm trying to build a "hello world" example
> from the Eclipse Plug-in with RTEMS 4.10 for the ARM based bsp EDB7312.
>
> My host PC is running Fedora 14 with Autoconf updated to 2.68 and
> arm-rtems4.10 toolchain installed from RPM, Eclipse Helio SR2 and REMS
> Eclipse Plug-in
>
> I'd downloaded CVS copy, run "bootstrap" and build the BSP with the
> command :
>
> ./configure --target=arm-rtems4.10 --prefix=/home/setron/rtems/arm2303/
> --enable-rtems-debug --enable-rtemsbsp="edb7312"
> make
> make install
Where did you install your tools? You should install your BSP in the same
prefix. I never tested the plug-in with your setup.
>
> Then i create a new proyect in Eclipse with
>
> Base Path : /opt/rtems-4.10
> BSP Path :/home/setron/rtems/arm2303/edb7312
Try to install your BSP in "/opt/rtems-4.1/arm-rtems4.10/edb7312".
>
> then change some stuff from the command line that call gcc neither
> arm-rtems4.10-gcc and finaly add include directories
>
> /opt/rtems-4.10/arm-rtems4.10/include
> /home/setron/rtems/arm2303/arm-rtems4.10/edb7312/lib/include
> /home/setron/rtems/arm2303/arm-rtems4.10/edb7312/lib
If you need this, the setup is completely unexpected. The plug-in should
detect all settings automatically.
>
>
> Everything goes fine until i try to build the proyect, i get this error
>
> Invoking: RTEMS Linker
> /opt/rtems-4.10/bin/arm-rtems4.10-gcc
> -L/opt/rtems-4.10/lib/gcc/arm-rtems4.10/4.4.5
> -L/home/setron/rtems/arm2303/arm-rtems4.10/lpc32xx_mzx/lib
> -o"arm98.exe" ./src/arm98.o
[...]
This command line is totally wrong.
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list