WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] build fixes for cross-compiling

To: Jan Beulich <JBeulich@xxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] build fixes for cross-compiling
From: Keir Fraser <keir.xen@xxxxxxxxx>
Date: Thu, 29 Sep 2011 08:08:06 -0700
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>, Adin Scannell <adin@xxxxxxxxxxxxxxx>
Delivery-date: Thu, 29 Sep 2011 08:10:39 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=KDPrJr2ypj1/a2LKORPAe/Je3vhfqYfx+1dXxmMJH6k=; b=eaHWGaRBqoj8k65wBJV/l6+jyOxJOuiNoGMTWqPHNpNdWPd2y/JmCF4EAS3w3c8XFH uT6tP30CKoXypWQMshQ3kO8x6hYhjkXtwuc4i9OTMs2VGBIsDvzK/P+MF/35xIolbx1m 1TLaHfNyWY81NMiHduo7hovEJuaMbd1aj5+IE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E84A1FD0200007800058834@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acx+uZdWZzZv5sn+MEyHo3Mo866J9A==
Thread-topic: [Xen-devel] [PATCH] build fixes for cross-compiling
User-agent: Microsoft-Entourage/12.30.0.110427
On 29/09/2011 07:51, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:

>> Or perhaps we could arrange to only link via direct invocation of ld? Apart
>> from the hassle of changing all our Makefiles, is there a good reason to use
>> gcc as a linker wrapper?
> 
> I'm afraid that would require manually specifying the crt*.o files as
> well as libgcc (if required) the compiler automatically tells the linker to
> include, which would be ugly (namely when it comes to supporting
> multiple host OSes). Imo, invoking the naked linker should generally be
> avoided when linking with any kind of system provided runtime library.

Good point.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel