* install gcc 4.2.0
@ 2011-01-18 19:06 ENIS_CES
2011-01-19 0:00 ` Ian Lance Taylor
0 siblings, 1 reply; 2+ messages in thread
From: ENIS_CES @ 2011-01-18 19:06 UTC (permalink / raw)
To: gcc-help
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: install gcc 4.2.0
2011-01-18 19:06 install gcc 4.2.0 ENIS_CES
@ 2011-01-19 0:00 ` Ian Lance Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2011-01-19 0:00 UTC (permalink / raw)
To: ENIS_CES; +Cc: gcc-help
ENIS_CES <bouthaina.dammak@hotmail.fr> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-19 0:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-18 19:06 install gcc 4.2.0 ENIS_CES
2011-01-19 0:00 ` Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).