ENIS_CES <bouthaina.dammak@xxxxxxxxxx> writes: > 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 ? You have to build a cross-assembler first. Configure it with the same --prefix option. Then start your gcc build from scratch. Ian