This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: Problems building for a pc target...


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/


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