From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Gautier To: Jonathan Larmour Cc: james chen , ecos-discuss@sources.redhat.com Subject: Re: [ECOS]Compiler erros with cygwin Date: Tue, 06 Feb 2001 05:40:00 -0000 Message-id: <20010206143602.51FE.GAUTIER@email.enst.fr> References: <000701c08fe5$f2610060$c408aa0a@inc.inventec> <3A7FFAD6.F2F82844@redhat.com> X-SW-Source: 2001-02/msg00063.html On Tue, 06 Feb 2001 13:23:34 +0000 Jonathan Larmour 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