[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.