Hi,
First of all I am aware that LFS-6.8 and 7.0 RC1 expicitly state that they do not support multilib at present.
However, I am between a rock and a hard place called multilib.
the rock is a big application that controls hardware in real-time. it was written with the principle that a long is
always 32bit, and Int could be anything so don't use it!
the OS must be upgraded from 32bit to 64bit, and currently it is based on pure 64bit compilation of LFS-6.8.
So now that 32bit long looks somewhat more like 64bit!
we could have looked to port our application into 64bit realm, which would have been someone else's problem. Unfortunately I must have drawn the short straw, as it is my problem that I must now produce a multilib version of LFS-6.8 instead (apparently a lesser task).
what I have done so far is:
binutils pass 1:
configure line now has --enable-multilib
I still create the symlink for /tools/lib64
gcc-pass1
removed --disable-multilib from configure line
adjusting
added a new part to the sed command in the SPECS file to make the following change:
*multilib:
. !m64 !m32;64:../lib64 m64 !m32;32:../lib !m64 m32;
to:
*multilib:
. !m64 !m32;.:../lib64 m64 !m32;../lib !m64 m32;
REFERENCE:
http://connie.slackware.com/~alien/m.../source/README
binutils pass 2:
configure line now has --enable-multilib
gcc-pass 2
removed the sed command that deleted MULTILIB_OSDIRNAMES
removed --disable-multilib from configure line
From what I understand if I have installed binutils and gcc correctly in the first pass then when glibc is installed it will install appropriately in multilib. However, I still do not get a stub-32.h in /tools/include/gnu which is the compile error for gcc-pass 2.
and so that is my problem, where is stub-32.h?
how far off track am I? I'm obviously missing something.
Would greatly appreciate some advice,
thanks in advance,
Andy