install gcc 4.2.0

ENIS_CES bouthaina.dammak@hotmail.fr
Tue Jan 18 19:06:00 GMT 2011


Hello
I want to install the gcc 4.2.0 in cygwin 
I have download the gcc from the ftp://ftp.gnu.org/../gnu/gcc/gcc-4.2.0

I install as follow 

in usr/src

mkdir objdir

cd objdir

 ../gcc /configure --prefix=/emips --with-divide=breaks
--enable-languages=c,c++ --target=mips-elf --with-gnu-ld --with-gnu-as

make

make install

I obtain this error 
/usr/src/gcc-build/./gcc/as: line 2: exec: -E: invalid option exec: usage:
exec [-cl] [-a name] file [redirection ...] make[4]: *** [crti.o] Error 1
make[4]: *** Waiting for unfinished jobs.... /usr/src/gcc-build/./gcc/as:
line 2: exec: -E: invalid option exec: usage: exec [-cl] [-a name] file
[redirection ...] make[4]: *** [crtn.o] Error 1 make[4]: Leaving directory
`/usr/src/gcc-build/gcc' make[3]: *** [extra] Error 2 make[3]: Leaving
directory `/usr/src/gcc-build/gcc' make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/usr/src/gcc-build/gcc' make[1]: *** [all-gcc]
Error 2 make[1]: Leaving directory `/usr/src/gcc-build' make: *** [all]
Error 2

Have you an idea about this error ?
Thanks in advance
-- 
View this message in context: http://old.nabble.com/install-gcc-4.2.0-tp30703270p30703270.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list