On Dec 12, 2012, at 6:38 PM, Henrik /KaarPoSoft wrote:
I am new to multilib, so I a wondering about stuff like: - where in the toolchain building sequence should I target multilib? I tried pass 1, but maybe it would be enough to target multilib later? - what options should be used to configure the different packages at each phase?
As Eric suggested, look at Cross-LFS http://trac.cross-lfs.orgbasicaly, you don't disable multilib in the toolchain and you setup multiple targets for 64bit 32bit and others, such as mips, and then you adjust build options for each package. Multilib will start directly at binutils, then gcc, then glibc, but you can't just follow LFS's order of packages and build multilib, a strict order is required.
The main thing is a binutils and gcc that is multilib then build a 32 bit and 64 bit glibc which will be used to build the multilib tools then you build the multilib glibc in final system to build the multilib system.
Sincerely, William Harrington
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page