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.
hello there. i'm at part 6.14 which is the final installation of GCC. I
am getting the following error from make continuously:
In file included from ../../gcc-3.4.1/gcc/crtstuff.c:62:
../../gcc-3.4.1/gcc/tsystem.h:79:19: stdio.h: No such file or directory
../../gcc-3.4.1/gcc/tsystem.h:82:23: sys/types.h: No such file or
directory
../../gcc-3.4.1/gcc/tsystem.h:85:19: errno.h: No such file or directory
../../gcc-3.4.1/gcc/tsystem.h:92:20: string.h: No such file or directory
../../gcc-3.4.1/gcc/tsystem.h:93:20: stdlib.h: No such file or directory
../../gcc-3.4.1/gcc/tsystem.h:94:20: unistd.h: No such file or directory
In file included from /sources/gcc-build/gcc/include/syslimits.h:7,
from /sources/gcc-build/gcc/include/limits.h:11,
from ../../gcc-3.4.1/gcc/tsystem.h:97,
from ../../gcc-3.4.1/gcc/crtstuff.c:62:
/sources/gcc-build/gcc/include/limits.h:122:61: limits.h: No such file
or directory
In file included from ../../gcc-3.4.1/gcc/crtstuff.c:62:
../../gcc-3.4.1/gcc/tsystem.h:100:18: time.h: No such file or directory
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/sources/gcc-build/gcc'
make: *** [all-gcc] Error 2
Now could I delete my gcc-3.4.1 from the /sources directory altogether
at the start, install gcc-core and gcc-g++ again, with only the
no_fixincludes patch, or would it break the chain??
No that would not break the toolchain (the toolchain is finished in chapter 5). You *should* delete (or otherwise remove from the working /sources dir) your gcc source and build directories after chapter 5.13, you should be unpacking a fresh gcc-{core,g++,testsuite} to compile in 6.14.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.