This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

cross-gcc problem when linking for i386-coff-lynxos


Hi all,

there is one more cross-gcc problem, again for cygwin hosted gcc, but this time
for a i386-coff-lynxos (I tried i586-pc-lynxos as well). I took the include
files from /usr/include, but I also tried an existing cross development kit
(from sysgo). In both cases, when building libgcc.a, there is a ld error message
saying

Testing libgcc1.  Ignore linker warning messages.
/usr/local/build/i386-coff-lynxos/gcc/gcc/xgcc
-B/usr/local/build/i386-coff-lynxos/gcc/gcc/ -B/usr/local/i386-coff-lynxos/bin/
-I/usr/local/i386-coff-lynxos/include -DCROSS_COMPILE -DIN_GCC     -g -O2
-I./include  libgcc1-test.o -o libgcc1-test \  -nostartfiles -nostdlib
`/usr/local/build/i386-coff-lynxos/gcc/gcc/xgcc
-B/usr/local/build/i386-coff-lynxos/gcc/gcc/ -B/usr/local/i386-coff-lynxos/bin/
-I/usr/local/i386-coff-lynxos/include --print-libgcc-file-name`
/usr/local/i386-coff-lynxos/bin/ld: unrecognized option `-P1000'
/usr/local/i386-coff-lynxos/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make[1]: *** [libgcc1-test] Error 1
make: *** [all-gcc] Error 2

I can't find any information about this -P1000 option, and probably either my
target is wrong or my header files. Can anyone comment on that?

Thanks a lot

Michael






------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]