This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problems building for a pc target...
- To: Robin Farine <acnrf at dial dot eunet dot ch>
- Subject: Re: [ECOS] Problems building for a pc target...
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Wed, 04 Jul 2001 20:47:57 +0100
- Cc: "Matthew M. DeLoera" <code dot bear at gte dot net>,ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <3B435334.9D0B65F3@gte.net> <864rssbm3t.fsf@halftrack.hq.acn-group.ch>
Robin Farine wrote:
>
> "Matthew M. DeLoera" <code.bear@gte.net> writes:
>
> [...]
>
> > The *only* thing I did to the ecos.ecc file was to modify the build
> > prefix to call gcc instead of i386-elf-gcc.
>
> That's actually your problem, tools for linux/x86 systems will not work for the
> eCos i386-elf target. Either use your tools with the linux synthetic eCos target
> or use tools built with "--target=i386-elf" for the pc target.
While this is true (and I fancy the chances this will work) I'm still
somewhat curious as to why the native linux compiler doesn't like it. I
just tried it myself and it works with gcc 2.95.2, but fails virtually
identically to Matthew with gcc 2.96-RH.
It seems that constraint definition has been tightened up. I'm applying a
patch locally to fix it and I intend to do an anoncvs release before end of
tomorrow to address a PC redboot bug that people have come across on the
list.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/