This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build Errors building MIPS-ELF-GCC


On 6/3/2011 06:32, sweinberger wrote:
> 
> 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

You disabled it with --disable-libiberty, gcc depends on it. This is not
a Cygwin issue, use the gcc-help mailing list instead.

Attachment: 0xED74C077.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]