From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15899 invoked by alias); 20 Apr 2010 15:23:44 -0000 Received: (qmail 15888 invoked by uid 22791); 20 Apr 2010 15:23:43 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail3.powersoft.it (HELO mail.powersoft.it) (82.104.164.178) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Apr 2010 15:23:38 +0000 Subject: Re: Error compiling arm-elf-gcc-4.5.0 From: Massimiliano Cialdi To: Kai Ruottu Cc: gcc-help@gcc.gnu.org In-Reply-To: <4BCDB8FD.4050206@wippies.com> References: <1271753344.7037.15.camel@lab7.powersoft.it> <4BCDB8FD.4050206@wippies.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 21 Apr 2010 07:17:00 -0000 Message-ID: <1271777011.7037.58.camel@lab7.powersoft.it> Mime-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2010-04/txt/msg00213.txt.bz2 Il giorno mar, 20/04/2010 alle 17.23 +0300, Kai Ruottu ha scritto: > > I have configured as follows: > > configure --enable-languages=3Dc,c++ --target=3Darm-elf --with-gnu-as > > --with-gnu-ld --prefix=3Dpath-to/arm-elf-gcc-4.5.0 >=20 > The given $prefix should be some 'absolute' pathname, the default is > '/usr/local' when no '--prefix=3D$prefix' is given. Yours is 'relative' > to some directory. path-to/arm-elf-gcc-4.5.0 is only a placeholder, not the true prefix path. The actual prefix is /usr/local/cross-gcc-arm-elf-4.5.0 > Of course you should first have binutils for 'arm-elf' in the > '$prefix/bin' (for humans and this dir in PATH) and in > '$prefix/arm-elf/bin' (for the GCC to be built). The > 'path-to/arm-elf-gcc-4.5.0/arm-elf/bin/objdump' shows this > scheme with your given $prefix and $target values. Yes, I have previously built binutils 2.20.1 for arm target MC