From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5639 invoked by alias); 19 Mar 2007 15:52:13 -0000 Received: (qmail 5630 invoked by uid 22791); 19 Mar 2007 15:52:12 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout01-winn.ispmail.ntl.com (HELO mtaout01-winn.ispmail.ntl.com) (81.103.221.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 19 Mar 2007 15:52:06 +0000 Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20070319155203.ONWW2951.mtaout01-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com> for ; Mon, 19 Mar 2007 15:52:03 +0000 Received: from merlin ([82.0.221.243]) by aamtaout04-winn.ispmail.ntl.com with ESMTP id <20070319155203.DUYB29112.aamtaout04-winn.ispmail.ntl.com@merlin> for ; Mon, 19 Mar 2007 15:52:03 +0000 From: Michael Wetherell To: binutils@sourceware.org Subject: Re: Building a cross binutils for Solaris/x86 target Date: Mon, 19 Mar 2007 15:52:00 -0000 User-Agent: KMail/1.7.2 References: <1174061923.21350.25.camel@okra.transitives.com> In-Reply-To: <1174061923.21350.25.camel@okra.transitives.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703191551.57715.mike.wetherell@ntlworld.com> X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00191.txt.bz2 On Friday 16 Mar 2007 16:18, Alex Bennee wrote: > One of the toolchains we use at work is a Solaris/x86 target hosted > on Linux/x86. One of my colleagues hacked up binutils 2.16.1 to > enable it to link a Solaris binary. > > I'm in the process of porting them 2.17 and would very much like to > submit the patches upstream if I can do them neatly. However my > autoconf magic is a little rusty. > > In the BFD the linker is specified in elf64-x86-64.c as > "/lib/ld64.so.1" when on Solaris is needs to be in > "/lib/amd64/ld.so.1". Are there any config variables passed to the C > code that I can use to #ifdef this? > > I had a brief scan through config.h but couldn't see anything > helpful. Hi, It should be working already, did you try a recent version? Regards, Mike