Linking application and BSP

Ralf Corsepius corsepiu at faw.uni-ulm.de
Thu Sep 21 20:43:23 UTC 2000


"Michael P. Collins on korat" wrote:
> I
> can't find any documentation for "--pipe" and I don't understand the
> purpose of "-B", nor do they have any effect on the result that I can
> tell.

Try

* m68k-rtems-gcc --help.

* info gcc 
Then follow 
a) Invoking GCC->Directory Options
b) Invoking GCC->Overall Options

* OAR's online-version of gcc.info:
http://www.oarcorp.com/rtems/betas/rtems-4.5.0-beta/online-docs/rtemsdoc-4.5-beta3/share/toolsdoc/html/gcc/a00037.html
http://www.oarcorp.com/rtems/betas/rtems-4.5.0-beta/online-docs/rtemsdoc-4.5-beta3/share/toolsdoc/html/gcc/a00028.html

> Final link output:
> 
> m68k-rtems-gcc -qrtems -Wall -ansi -mcpu32 -Wno-unused -v --pipe -B/usr/local/rtems/lz120_ROM/lib \
>         --specs /usr/local/rtems/lz120_ROM/lib/bsp_specs \

Here are two issues with this line:
a) -B/usr/local/rtems/lz120_ROM/lib/
The / at the end is essential.

b) -specs bsp_specs or -specs=bsp_specs
-specs gives the name of the file searched in -B<path>/ not the path
to bsp_specs


> 
>   The "file path prefix never used" warning is apparently related to
> the "-B" option, as it goes away if that option is removed.

Yes, these are caused by the issues above.

Ralf
-- 
Ralf Corsepius 
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung
(FAW)
Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
mailto:corsepiu at faw.uni-ulm.de           FAX: +49/731/501-999  
http://www.faw.uni-ulm.de



More information about the users mailing list