2009/12/7 lux-integ <[email protected]>: > Greetings > > I have been folowing clfs and cblfs recipes for the last 18 months. I use the > AMD64 processor and I build clfs > as pue 64 bit. Nowhere in the clfs recipe(s) is the creation of a /lib64 > or /usr/lib64 or ~/whatever/lib64 I followed the non-multilib build recipe > of cblfs. I compile with just ./configure/make/make install/ and I > link /usr/lib64 to /usr/lib beleiving I have generated 64-bit > executables and libraries. > > This was until last night when I visited the cblfs site regarding insalling > the nvidia binary-only linux driver > (http://cblfs.cross-lfs.org/index.php/NVIDIA) for nvidia GPU's and noticed > they treat non-multilib as for x86 and have a separate recipe for pure > 64-bit amd64. (I am about to start on another blfs/cblfs 64-bit build an I > would like to know if their non-multilib recipes refer to true 64-bit > builds for amd64-64-bit clfs setups or does one need ALWAYS to pass > arguments such as USE_ARCH=64 CC="gcc $BUILD64" to configure scripts OR > is this dependent on the program to be compiled. > > > > advice will be appreciated. > > lux-integ > -- Personally, I'm lucky enough to only have one nvidia card (on my ppc64), so I have no real interest in closed-source drivers. Looking at that link, it correctly notes that nvidia don't support the x86-64 linker in /lib, hence the symlink(s).
At the risk of going O/T for this list, the clfs pure64 build *only* supports 64-bit (run 'file' on binaries to prove this). $BUILD64 [ -m64 in this case ] is unnecessary but does no harm and may help in providing instructions for different architectures. USE_ARCH is specific to clfs-multilib (primarily, it controls which version of perl you will be using, there should also be a corresponding alteration to the pkg-config path for 64-bit on multilib). HTH ĸen -- After tragedy, and farce, "OMG poneys!" -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
