public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Antwort: Re: problem building cross-gcc for lynxos
@ 2000-12-19  5:28 Michael2.Roth
  0 siblings, 0 replies; only message in thread
From: Michael2.Roth @ 2000-12-19  5:28 UTC (permalink / raw)
  To: karuottu; +Cc: crossgcc

First of all: many thanks, Kai, I now have a much better understanding of what
problems might be involved when building a cross-GCC!

Regarding the lynxos gcc, the --with-gnu-as switch improved things very much!
The linker is no longer called with the -P1000, and with the target libraries it
is possible to compile and link for lynxos.
However, when making the GCC, at some stage it starts configuring for the
libraries, the system completely hangs during configure (well, I must admit that
I was compiling under cygwin ...). So I had to kill the NT command shell, start
a new one, run make install  - but at least after that the cross compiler could
be used.

Thanks again,
Michael





Kai Ruottu <kai.ruottu@luukku.com> on 19.12.2000 10:37:58

Bitte antworten an karuottu@freenet.hut.fi

An:   Michael2 Roth/RSD@RSD
Kopie:    crossgcc@sourceware.cygnus.com
Thema:    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











------
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] only message in thread

only message in thread, other threads:[~2000-12-19  5:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-19  5:28 Antwort: Re: problem building cross-gcc for lynxos Michael2.Roth

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).