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

User Name

Remember Me?

Password

Linux From ScratchThis 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.

Notices

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

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??

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.