On Wednesday 09 May 2012 12:29:57 Rich Felker wrote:
> Would it be possible to head in the direction of not neeting
> CROSS_COMPILE/CROSS? That is, make it so the build system just works
> with cross compiling as long as CC is set to the right compiler? I can
> think of a few potential issues like the way stripping is performed
> that might need a cross-specific tool other than CC

the current system uses ar and nm and ld directly.  the first two could be 
moved to partial linking so there's only ld and cc, but i don't know if you 
can do partial linking with gcc easily.  obviously stripping would still need 
to be sep, but i think stripping isn't done by default, so that isn't a big 
deal.

feel free to post a patch to move in that direction.

> but perhaps
> there's a way to use -dumpmachine and determine if the results are
> native or cross, and automatically search out the rigth tools based on
> that.

err, no, this would be a bad fragile system
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to