public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* cross-gcc problem when linking for i386-coff-lynxos
@ 2000-12-15  8:42 Michael2.Roth
  2000-12-18 10:34 ` Kai Ruottu
  0 siblings, 1 reply; 2+ messages in thread
From: Michael2.Roth @ 2000-12-15  8:42 UTC (permalink / raw)
  To: crossgcc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cross-gcc problem when linking for i386-coff-lynxos
  2000-12-15  8:42 cross-gcc problem when linking for i386-coff-lynxos Michael2.Roth
@ 2000-12-18 10:34 ` Kai Ruottu
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Ruottu @ 2000-12-18 10:34 UTC (permalink / raw)
  To: Michael2.Roth; +Cc: crossgcc

Michael2.Roth@RSD.rohde-schwarz.com wrote:
> 
> 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).
>
> /usr/local/i386-coff-lynxos/bin/ld: unrecognized option `-P1000'
> /usr/local/i386-coff-lynxos/bin/ld: use the --help option for usage information
> 
> 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?

 Does the LynxOS have a native linker, not the GNU ld, which has this option?

 The CROSS_COMPILE macro isn't always used when deciding the specs, 'LD_SPEC' here,
in the target config files. Please check the 'gcc-2.95.2/gcc/config/i386/*lynxos*'
files for this option included into the LD_SPEC... Perhaps using the '--with-gnu-ld'
while configuring removes it.

Cheers, Kai



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-12-18 10:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-15  8:42 cross-gcc problem when linking for i386-coff-lynxos Michael2.Roth
2000-12-18 10:34 ` Kai Ruottu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).