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]

Re: problem building cross-gcc for lynxos


Michael2.Roth@RSD.rohde-schwarz.com wrote:
> 
> Still I don't get a cross-gcc running for lynxos. The first time, when the
> linker is called, it is passed a calling parameter -P1000 that it doesn't like.
> The parameter comes from the specs file of GCC, and probably my target is not
> set-up properly. On my running lynx system, the host seems to be set to
> i386-coff-lynxos, whereas I started with i586-pc-lynxos. I now changed to
> i586-coff-lynxos, but that does not change anything (although from the specs
> file this should make a difference).
> Can someone please tell me what the correct target settings for LynxOS on a i586
> are supposed to be?

 Please use at least the '--with-gnu-as'. This puts the configuration to use the
'gcc/config/i386/lynx.h' main config file, not the 'gcc/config/i386/lynx-ng.h',
which is for the old LynxOS 'as' and 'ld'. Please browse the 'gcc/configure'
and search for 'lynxos', then you will see the 'i[3456]86-*-lynxos*' config
entry and these things defined there. Please also browse the 'gcc/config/i386/lynx-ng.h'
and see the '-P1000' being there in LINK_SPEC (not in LD_SPEC as I remembered the
name to be...)

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


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