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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have 2 linux OS
fedora core 2--gcc version 3.3.3
mandrake 10.1--gcc version 3.4.1
i am more on FC2 than mandrake
and i want to compile LFS on FC2 , but i fear the gcc version.
last time i tried compiling LFS on RH9 whcih had different gcc version. i could bot go with gcc
so i want to know that would the different gcc version be a problem or should i go with mandrake
Well since the real work happens after the chroot, you would probably be ok, however, you'd be better off from the get go if you had identical GCC versions. You can always have 2 compilers on FC if you'd like, just be sure to change your GCC= to the path of the compiler you want to use.
One of the first things you do is create the /tools directory (which is actually located on the new partition) and set the path to search /tools/bin before anything else. so /tools/bin/gcc will be executed instead of /usr/bin/gcc.
ok, but what i was referring to was the gcc on the host does not matter. Once you build the temporary compiler in the bootstrap phase (which is compiled static so it won't use shared libs), you will not need the host compiler any longer.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.