From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6843 invoked by alias); 2 Apr 2008 06:32:18 -0000 Received: (qmail 6835 invoked by uid 22791); 2 Apr 2008 06:32:18 -0000 X-Spam-Check-By: sourceware.org Received: from smtp106.biz.mail.mud.yahoo.com (HELO smtp106.biz.mail.mud.yahoo.com) (68.142.200.254) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 02 Apr 2008 06:31:57 +0000 Received: (qmail 75977 invoked from network); 2 Apr 2008 06:31:55 -0000 Received: from unknown (HELO localhost.localdomain) (wilson@tuliptree.org@69.110.10.37 with plain) by smtp106.biz.mail.mud.yahoo.com with SMTP; 2 Apr 2008 06:31:54 -0000 X-YMail-OSG: vfGEq4MVM1lYGx7sbjDZjX4U07l7dfW24zE57GgymSddVhl0SDNmK25jttmigfm2pHxvcyOeUM6GcrockFaxUTugmpYOta3wn.T2qrNSJiC.ZLM- X-Yahoo-Newman-Property: ymail-3 Message-ID: <47F32859.1030406@tuliptree.org> Date: Wed, 02 Apr 2008 06:33:00 -0000 From: Jim Wilson User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: Langella Raphael CC: gcc-help@gcc.gnu.org Subject: Re: Wrong assembler used with gcc 4.3.0 on Solaris 9 References: <092785B790DCD043BA45401EDA43D9B50210CD73@cst-xch-003.cnesnet.ad.cnes.fr> In-Reply-To: <092785B790DCD043BA45401EDA43D9B50210CD73@cst-xch-003.cnesnet.ad.cnes.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00022.txt.bz2 Langella Raphael wrote: > I don't understand why the default solaris assembler is used instead of the binutils one (which can be found at the very beginning of my PATH). GCC has its own built-in paths for finding things. The best solution here is to always use the same --prefix when configuring binutils and gcc. And build and install binutils before building and installing gcc. Then gcc should automatically find binutils and everything should just work. If it still doesn't work, you might need to add extra configure options like --with-gnu-as=/path/to/gnu/as, but these aren't needed normally. Jim