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.
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.
Click Here to receive this Complete Guide absolutely free.
i didn't remove the gcc-build and gcc-4.0.3 directories but i have successfully compile and install the gcc pass2.
first i have done the bellow steps:
i have "cd" to the "gcc-4.0.3" directory and the i have applied the "sed" commands.
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
sed -i 's/^XCFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in
and the Configuration is
../gcc-4.0.3/configure --prefix=/usr \
--libexecdir=/usr/lib --enable-shared \
--enable-threads=posix --enable-__cxa_atexit \
and I'm getting error after " make" the error is something like this
warning: 'flex' not found
but the the Book in section 6.12 said that,
Test the results, but do not stop at errors:
make -k check
Now , please tell me what i have to do now, how to get rid from this error...
Have you read section 1.5 yet? Please do. Don't provide the "something like" error message, provide the exact error message and several lines before that.
When you say you didn't remove gcc-4.0.3 and gcc-build directories, did you mean the ones from section 5.11? Read section 5.1, specifically the second Important box. I don't believe section 5.11 tells you to keep these directories.