[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH] build fixes for cross-compiling
- To: Jan Beulich <JBeulich@xxxxxxxx>
- 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=
- List-id: Xen developer discussion <xen-devel.lists.xensource.com>
- Thread-index: Acx+uZdWZzZv5sn+MEyHo3Mo866J9A==
- Thread-topic: [Xen-devel] [PATCH] build fixes for cross-compiling
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