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


Jonathan Larmour wrote:
> 
> 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.

Well, I hate to ask a stupid question, but does this mean I need to
rebuild gcc with "--target=i386-elf"? If so, I assume I need to keep it
around in a seperate directory as a tool for eCos only?

- Matt


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