powerpc-rtems configure problem

joel at oarcorp.com joel at oarcorp.com
Thu Oct 29 14:41:25 UTC 1998

On Fri, 30 Oct 1998, Brendan Simon wrote:

> I'm following the rtems-4.0.0b documentation to build cross-egcs and
> rtems.
> The "./bit powerpc" completed successfully.  I tested the cross compiler
> using the given example and using the -S switch.  The assmebler output
> was generated ok.
> When I try "./bit_rtems powerpc" the rtems configure script fails.  This
> is because the compiler wont link.  There are undefined symbols in
> libgcc like __SDATA_START__, __SBSS_END__, etc.  Is this because it
> can't find any linker scripts or startup files such as crt0??
> Is this a bsp problem ?  The user.cfg as BSP=ALL.  Is this ok or should
> I select bare ?  Does anyone have a bsp for the MPC860 ADS board  or
> MPC860 MBX board ??
> Sorry for all the questions.  If the answers are in some other
> documentation please point me to them

This sounds like the RTEMS newlib patch was not applied.  There is a dummy
crt0 included in the newlib RTEMS support which defines these symbols.  It
is not functional but enough to let configure know the tools work.

Joel Sherrill                    Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

More information about the users mailing list