From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32332 invoked by alias); 2 Apr 2008 08:15:27 -0000 Received: (qmail 32322 invoked by uid 22791); 2 Apr 2008 08:15:26 -0000 X-Spam-Check-By: sourceware.org Received: from baudot.cnes.fr (HELO baudot.cnes.fr) (132.149.22.11) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 02 Apr 2008 08:15:07 +0000 Received: from cnes.fr by cnes.fr; Wed, 2 Apr 2008 10:15:04 +0200 (CEST) Received: from cnes.fr by cnes.fr; Wed, 2 Apr 2008 10:15:04 +0200 Received: from cnes.fr by cnes.fr; Wed, 2 Apr 2008 10:15:04 +0200 (CEST) Received: from cnes.fr by cnes.fr; Wed, 2 Apr 2008 10:15:04 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Wrong assembler used with gcc 4.3.0 on Solaris 9 Date: Wed, 02 Apr 2008 12:41:00 -0000 Message-ID: <092785B790DCD043BA45401EDA43D9B50210CD80@cst-xch-003.cnesnet.ad.cnes.fr> In-Reply-To: <47F32859.1030406@tuliptree.org> From: "Langella Raphael" To: 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: 2008-04/txt/msg00025.txt.bz2 > -----Message d'origine----- > De : gcc-help-owner@gcc.gnu.org=20 > [mailto:gcc-help-owner@gcc.gnu.org] De la part de Jim Wilson > Envoy=E9 : mercredi 2 avril 2008 08:32 > =C0 : Langella Raphael > Cc : gcc-help@gcc.gnu.org > Objet : Re: Wrong assembler used with gcc 4.3.0 on Solaris 9 >=20 > Langella Raphael wrote: > > I don't understand why the default solaris assembler is=20 > used instead of the binutils one (which can be found at the=20 > very beginning of my PATH). >=20 > GCC has its own built-in paths for finding things. The best=20 > solution here is to always use the same --prefix when=20 > configuring binutils and gcc. And build and install binutils=20 > before building and installing gcc.=20 > Then gcc should automatically find binutils and everything=20 > should just work. >=20 > If it still doesn't work, you might need to add extra=20 > configure options like --with-gnu-as=3D/path/to/gnu/as, but=20 > these aren't needed normally. >=20 > Jim >=20 Thanks for your advice. I've found a solution by setting COMPILER_PATH to m= y binutils. To answer Dennis who asked why I don't use the native as and ld, it's becau= se it doesn't work. That's the point of my initial post.