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]
Other format: [Raw text]

Re: gnupro toolkit?


Tom Marshall wrote:
> 
> > > make[1]: i386-elf-gcc: Command not found
> > > make[1]: *** [heapgeninc.tcl] Error 127
> > >
> > > I assume that I need the GNUPro tools for
> > > compiling stuff on the target machine
> >
> > you mean cross compiling to the target machine, right?
> >          ^^^^^           ^^
> 
> Yes .. I assume my normal Linux "gcc" won't work because it's going to build
> binaries for Linux/glibc. [snip]

Actually that does tend to work if you have a Linux host (not Cygwin). Set
CYGBLD_GLOBAL_PREFIX to "" in your eCos configuration and it will use the
native tools. eCos overrides the crt0, linker script etc. We've certainly
had it working like this before.

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

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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