This is the mail archive of the ecos-discuss@sourceware.cygnus.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: Error generating arm-elf-gcc


Alessandro Pinto wrote:
> 
> This is for binutils
> 
> ./configure --host=i686-pc-cygwin32 --prefix=/cygdrive/c --exec-prefix=/cygd
> rive/c/cygwin --norecursion

You did not specify a target here, i.e. --target arm-elf
 
Note that by doing this you have probably overwritten the assembler and
linker supplied with cygwin by new versions built from these sources. This
may be okay, but it's something for you to be careful about.

> and this is for gcc
> 
> ../gcc-2.95.2/configure --with-gcc-version-trigger=/F/gcc-2.95.2/gcc/version
> .c --host=i686-pc-cygwin32 --target_cpu=arm-elf --prefix=/cygdrive/c --exec-
> prefix=/cygdrive/c/cygwin --with-gnu-as --with-gnu-ld --with-newlib -v --nor
> ecursion
> 
> I took this settingd from the Ecos web site.

In general I would recommend against installing things into the cygwin
directory, as it may overwrite some of the cygwin-supplied utilities with
newer versions that may not be as reliable. But if you do want to do this,
then you should use the same prefix as you used for the exec-prefix, i.e.
/cygdrive/c/cygwin

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

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