This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Build Errors building MIPS-ELF-GCC
- From: sweinberger <sarahmarci at jmr dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 2 Jun 2011 15:32:29 -0700 (PDT)
- Subject: Build Errors building MIPS-ELF-GCC
Hi,
I am attempting to build the mips-elf gcc tool chain.
I already have binutils built, so no issues there.
The steps call for:
1. download GCC (e.g.
ftp://ftp.gnu.org/gnu/gcc/gcc-3.4.6/gcc-3.4.6.tar.bz2). I downloaded the
latest version 4.6.0 rather than 3.4.6, so maybe that is the problem.
2. extract, which I did to C:\cygwin\usr\local\gcc-4.6.0
3. makdir /usr/local/build-mips-elf-gcc
4. cd /usr/local/build-mips-elf-gcc
5. /usr/local/gcc-4.6.0/configure --target=mips-elf --disable-nls
--with-stabs --disable-install-libiberty --disable-install-libbfd
--disable-dependency-tracking --enable-64-bit-bfd --enable-languages=c
--with-gnu-as --with-gnu-ld --disable-libssp --disable-libiberty
6. make
I receive the following error:
config.status: creating Makefile
config.status: creating mkheaders.almost
config.status: creating config.h
make[2]: Entering directory `/usr/local/build-mips-elf-gcc/fixincludes'
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I.
-I/usr/local/gcc-4.6.0/fixincludes -I../include -
I/usr/local/gcc-4.6.0/fixincludes/../include
/usr/local/gcc-4.6.0/fixincludes/fixincl.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I.
-I/usr/local/gcc-4.6.0/fixincludes -I../include -
I/usr/local/gcc-4.6.0/fixincludes/../include
/usr/local/gcc-4.6.0/fixincludes/fixtests.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I.
-I/usr/local/gcc-4.6.0/fixincludes -I../include -
I/usr/local/gcc-4.6.0/fixincludes/../include
/usr/local/gcc-4.6.0/fixincludes/fixfixes.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I.
-I/usr/local/gcc-4.6.0/fixincludes -I../include -
I/usr/local/gcc-4.6.0/fixincludes/../include
/usr/local/gcc-4.6.0/fixincludes/server.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I.
-I/usr/local/gcc-4.6.0/fixincludes -I../include -
I/usr/local/gcc-4.6.0/fixincludes/../include
/usr/local/gcc-4.6.0/fixincludes/procopen.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I.
-I/usr/local/gcc-4.6.0/fixincludes -I../include -
I/usr/local/gcc-4.6.0/fixincludes/../include
/usr/local/gcc-4.6.0/fixincludes/fixlib.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I.
-I/usr/local/gcc-4.6.0/fixincludes -I../include -
I/usr/local/gcc-4.6.0/fixincludes/../include
/usr/local/gcc-4.6.0/fixincludes/fixopts.c
make[2]: *** No rule to make target `../libiberty/libiberty.a', needed by
`full-stamp'. Stop.
make[2]: Leaving directory `/usr/local/build-mips-elf-gcc/fixincludes'
make[1]: *** [all-fixincludes] Error 2
make[1]: Leaving directory `/usr/local/build-mips-elf-gcc'
make: *** [all] Error 2
I included disable-install-libiberty, so should not gcc build?
How to fix the error?
Thanks in advance,
Sarah
--
View this message in context: http://old.nabble.com/Build-Errors-building-MIPS-ELF-GCC-tp31761538p31761538.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple