[discuss] --with-sysroot required when building 32->64 bit crosstoolchain? (was: building a cross-compiler is hard)
Daniel Kegel
dkegel@google.com
Thu Jan 8 00:38:00 GMT 2004
Raul Miller wrote:
> On Wed, Jan 07, 2004 at 07:03:05PM -0500, Raul Miller wrote:
>
>>http://www.x86-64.org/lists/bugs/msg00877.html
>
>
> Never mind, I just noticed that I never got around to
> building my final glibc.
And in any case, your solution to the /lib vs. /lib64 dilemma was:
> # I'm not patching everything with debian patches, so I
> # need /lib and /lib64 to be equivalent for the stuff
> # that does things the gnu way, and create directory
> # now so I don't have to worry about which is needed first
> mkdir -p $p/$T/lib64
> (
> cd $p/$T
> ln -s lib64 lib
> )
which is probably a bit kludgier than I want to go.
BTW, why do you build glibc twice? In http://kegel.com/crosstool,
I only have to build it once, using the bootstrap compiler,
and it works well for all the 32 bit platforms I've tried,
as far as I can tell.
- Dan
More information about the Binutils
mailing list