LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   3rd LFS build (this time on x86-64): about GCC and GLIBC and other questions... (https://www.linuxquestions.org/questions/linux-from-scratch-13/3rd-lfs-build-this-time-on-x86-64-about-gcc-and-glibc-and-other-questions-217973/)

ParticleHunter 08-15-2004 03:02 PM

3rd LFS build (this time on x86-64): about GCC and GLIBC and other questions...
 
Hi, long time no see...

I have bought my 64bit machine a week and a half ago, as told some time ago, and I've been testing for a little ammount of time the SuSE 9.1 64bit edition, but I want to make a LFS system again, like I did in the past with my old Pentium3, but I have some concerns:

I'm taking both the LFS and BE-LFS book as a start point, just to be sure I can join the latest kernel/packages sources and to be able to compare the later versions of LFS (5.1.1 and CVS-200X-XX-XX)

Well... my concerns are:

1. as my system is powered by an Athlon64 3200+ I want, let's say, complete or 'nearly complete' 64bit support for all packages I can apply the compiler flags like -march,-mcpu and so on... and using the -O3 optimization flag...

I would like to know if someone has tested this way, I mean... compiling the first package, that's binutils, in 64bit with the specific architecture and optimization flags ;)

2. when I'll be in the second pass of GCC 3.4.1 I would like to compile it to support all compiler collection, that's C, C++, Objective-C, Java, and Fortran, as I'll use my machine to programming and scientific tasks that involves large ammounts of calculations and equations, so... I know if I put the usual line of --enable-languages=c,c++ I will have support for C and C++ but, If I want to include support for all languages, must I write something like --enable-languages=c,c++,java,g77,objc or must I erase that line to make the compiler include all options?

3. when compiling GLIBC, instead of using linuxthreads or NPTL, I would like to test the NGPT (Next Generation POSIX Threading) library, so I suppose I have to decompress the tarball into the glibc directory and then... use the --enable-add-ons option with --enable-add-ons=ngpt and --with-tls? or must I specify that options in another way? I mean... specially for the case of the TLS, as the book specify that option if you want to make use of NPTL, but I have no idea of how can I do it for NGPT...

4. refering to GLIBC I have downloaded the glibc 2.3.4 package, but... is it 'relatively' stable or must I use another package like glibc-2.3.3??

thanks in advance,

Julio

dethlock 08-16-2004 10:47 AM

Ask Alpha
 
Scan the Alpha LFS pages as there are a couple of 64bit quirks. As I remember there is one with Glibc and Autoconf. I have managed to get through half of Chapter 6 on my Alpha (AlphaStation 200) and I seem to remember something about Glibc, but it escapes me. If I remember, I'll let you know.


All times are GMT -5. The time now is 10:35 PM.