delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/02/18:32:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <31761538.post@talk.nabble.com>
Date: Thu, 2 Jun 2011 15:32:29 -0700 (PDT)
From: sweinberger <sarahmarci AT jmr DOT com>
To: cygwin AT cygwin DOT com
Subject: Build Errors building MIPS-ELF-GCC
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019