This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> > 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