This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Compiler erros with cygwin
- To: Jonathan Larmour <jlarmour at redhat dot com>
- Subject: Re: [ECOS]Compiler erros with cygwin
- From: Fabrice Gautier <gautier at email dot enst dot fr>
- Date: Tue, 06 Feb 2001 14:38:38 +0100
- Cc: james chen <james_ch1 at sina dot com>, ecos-discuss at sources dot redhat dot com
- References: <000701c08fe5$f2610060$c408aa0a@inc.inventec> <3A7FFAD6.F2F82844@redhat.com>
On Tue, 06 Feb 2001 13:23:34 +0000
Jonathan Larmour <jlarmour@redhat.com> wrote:
> james chen wrote:
> >
> > I use configuration tool to configure a target of 'Linux synthetic target',
> > when I compiler it, it occurs the following message, any one can help me to
> > resolve it? I run configuration tool and cygwin in windows98. I also try
> > three versions of gcc( 2.95-2, 2.95-6, 2.95-7) in cygwin, and the result
> > same.
>
> This is potentially because you are trying to generate linux native
> executables using a cygwin native compiler! You need to build a
> cygwin->linux cross compiler. I believe
> http://sources.redhat.com/ecos/tools/win-i386-elf.html should build a
> compiler you can use, although you may need to change the
> CYGBLD_GLOBAL_PREFIX CDL variable.
>
I would also recommend the following Howto (updated recently):
* Building Linux dev tools hosted on Cygwin.
http://www.nanotech.wisc.edu/~khan/software/gnu-win32/cygwin-to-linux-cross-howto.txt
Regards,
--
Fabrice Gautier <gautier@email.enstfr>