Quote:
So you had no problems using regular BLFS to put programs in afterwards?
|
No problems. I use that book rather than the CBLFS wiki.
Quote:
and stumbled onto BCLFS which has some scary ways of installing things
|
Stay away from that.
Quote:
I could compile most things 64-bit only without and problems or extra steps
|
One thing that I forgot to mention is you could add the steam runtime to you ld.so.conf in
/etc. That could jumpstart things for you.
Quote:
p.p.s. seems cleaner to rebuild things than to try to copy thigns over from a previous install
|
You are correct. I have had a BLFS build since 7.10rc1 quite a long time ago. I kept my old tar balls. I
noticed after my last 8.1 build that there were less than 5 tar balls that could be reused. Nearly all had to
be upgraded.
Another option for you is an automated tool chain called "CROSSTOOL-NG" It compiles binutils,gcc & glibc. You
need to select multilib. ld-linux.so.2 & libc.so.6 are placed in the sysroot directory. You could create a
symbolic link back to /lib & /lib64, respectively. You would need an init package to boot it.
Overall I just simply learned to look at BLFS book and compile both 32-bit & 64-bit myself.
For 32-bit the compile would go like:
Quote:
USE_ARCH=32 \
PKG_CONFIG_PATH=/usr/lib/pkgconfig \
CC="gcc ${BUILD32}" \
CXX="g++ ${BUILD32}" \
./configure --prefix=/usr
|
For 64-bit you would need to specify the libdir:
Quote:
USE_ARCH=64 \
PKG_CONFIG_PATH=/usr/lib64/pkgconfig \
CC="gcc ${BUILD64}" \
CXX="g++ ${BUILD64}" \
LDFLAGS="-Wl,-rpath,/usr/lib64 -L/usr/lib64 -Wl,-rpath,/lib64 -L/lib64" \
./configure --prefix=/usr \
--libdir=/usr/lib64
|
If the package installs a config executable then put the multiarch
wrapper to work. With cmake configuring for multilib is a little
different. You'll use the same prepended environment variables but
you'll have to the following switch.
Quote:
-DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64
|
Sometimes I have seen this switch.
That just add "64" to the end of the libdir install directory.
One thing I have always had problems with is python2. I right now
can't seem to compile the package as 64-bit or multilib for that matter.
For me, it is jury rigged as a 32-bit install. Thus I am missing the\
64-bit development libs for alsa and samba. There are some other corner
cases that I need to iron out because of the python issues. Python2 just
isn't multilib aware. But I was successful in getting a 64-bit python2
install then I couldn't compile alsa & samba for 32-bit. Wine needs those
to function properly. I've grown to hate python for the problems it has
given me.