Newlib-1.8.0
Johannes Reisinger
hannes@linus.priv.at
Sat Jul 19 09:25:00 GMT 1997
>
> I have tried to build newlib-1.8.0 with gcc-2.7.2.2 and binutils
> 2.8.1 for powerpc-unknown-eabi with both the one-tree (1.3) script and the
> newlib alone. Neither works... One-tree compiles gcc/bu fine, but as
> soon as it tries to compile the first file for newlib, gcc chokes by two
> flags passed to it: -mrelocatable -mno-eabi, as well as warning about a
> variable called impure_ptr.
> Anybody have any ideas (Doug)?
>
I had exactly the same problems (except that the unknown flag is
-mrelocatable-lib and not -mrelocatable). I believe that the cygnus
people use a newer version of gcc which already knows these flags.
The gas from binutils 2.8.1 knows these flags, but gcc does not pass
them to it.
-jr
More information about the crossgcc
mailing list