Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 08-15-2004, 03:02 PM   #1
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Rep: Reputation: 15
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,

Old 08-16-2004, 10:47 AM   #2
LQ Newbie
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS without gcc and glibc nazir Linux From Scratch 5 08-05-2005 11:23 AM
problems configuring glibc-2.3.4-20040701 for LFS build dimaash Linux From Scratch 1 07-17-2005 09:00 AM
Where can I post glibc build failure questions ? rekhakp Linux - Software 0 04-27-2005 04:37 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
GCC first build for LFS, bootstrap error Blibblob Linux From Scratch 8 01-07-2004 05:50 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration