On Mon, 1 Aug 2005, Jeremy Henty wrote:

>
> Thanks to everyone who educated me about 32/64-bit issues.  I've been
> having trouble finding the recommended 64-bit live CDs.  I'm
> bewildered if I can find Gentoo's, and the download link at
> <URL:http://stockwith.co.uk/x86_64/> is broken.  But I *have*
> downloaded the Ubuntu Hoary Hedgehog AMD64 live CD.  Is that a good
> host system?  If I build vanilla LFS on top of that will I get a pure
> 64-bit system?  Where will my libraries end up, /lib or /lib64 ?
>

 I dunno if anybody has managed to build from a ubuntu live CD.  The
package versions should be ok, it's a question of whether they include
all the necessary packages and headers.  I've used a ubuntu ppc install,
(I wanted to try it on a new box, the live CD didn't seem to support
installing) but it needed a lot added [ not least, gcc ].

 If you build gcc on a native x86_64, it will default to trying to build
biarch/multilib, i.e. lib and lib64.  I've never built from that sort of
host, I'm not sure what else has to change.  The lib|lib64 split seems
to be preferred across the toolchain and in X [ probably because on most
other 64-bit architectures a mostly 32-bit userspace is preferred ] and
has the "bonus" that proprietary video drivers, firefox plugins, and
grub, should be easier to get working.  The only downside is that all
the 64-bit applications that install in lib need to be told to use
lib64.

 But, if you like pain, welcome to 'pure64' (libraries in lib).  I'm
_still_ exercising my i686 to x86_64 build-scripts at the moment ( /me
pauses to ritually curse bzip2 for needing "make CC=${CC} ..." in a
cross-compile)  and it isn't all plain sailing.  In particular, I
believe you'll need to sed or patch gcc any time you run 'make
bootstrap' (both in chapter6|native and in future builds from this
system).  And you won't have grub, unless somebody fixes that.
Proprietary video drivers are an unknown, binary firefox plugins will
not work in pure64.

> (Sorry to pepper you all with questions but I am new to these
> architecture issues.  I have lots of links from searching the LFS
> mailing list archives but they tend to assume you already grok the
> basics.)
>

 Indeed they do.  But then, if you wanted an easy and well-travelled
path you wouldn't be here :)

> Cheers,
>
> Jeremy
>

 Have fun with it, whichever method you choose.

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to