This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compiling gcc with sparc-elf target
- From: Ian Lance Taylor <iant at google dot com>
- To: alsp <alansparkstar at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 06 Jan 2011 06:29:31 -0800
- Subject: Re: Compiling gcc with sparc-elf target
- References: <30605094.post@talk.nabble.com>
alsp <alansparkstar@gmail.com> writes:
> I am compiling under msys on Windows 7 and have installed the various
> prerequisites: Binutils, Flex, Bison, GMP, MPFR and MPC.
>
> Here is my full configure command:
> ../gcc_4_3_0_release_src/configure --prefix=/sparc-gcc --host=mingw32
> --target=sparc-elf --program-prefix=""
> --with-lib-path=/mingw/mingw32/lib:/mingw/lib:/usr/local/lib:/lib:/usr/lib
> --with-gcc --with-gnu-as --with-gnu-ld --disable-nls --disable-shared
> --enable-languages=c,c++
>
> Does anyone have any ideas?
I think you need to add --build=mingw32. That should at least get you
to a different problem.
Ian