This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: gnupro toolkit?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Tom Marshall <tommy at home dot tig-grr dot com>
- Cc: michael shiloh <michael at michaelshiloh dot com>,ecos-discuss at sources dot redhat dot com
- Date: Thu, 04 Apr 2002 04:49:02 +0100
- Subject: Re: [ECOS] gnupro toolkit?
- References: <20020325034036.GA13541@home.tig-grr.com> <Pine.LNX.4.33.0203242032040.20762-100000@magritte.magrittesystems.com> <20020325051424.GA14163@home.tig-grr.com>
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