This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling GCC for linux with no /usr/include


"Casey Allen Shobe" <cshobe@osss.net> wrote:
> I'm attempting to build GCC on a custom linux system that does not feature
> a /usr directory.

"cd / && ln -s . usr" might help.

> I found by looking at gcc/Makefile that I could workaround this problem
> with 'cd gcc; make NATIVE_SYSTEM_HEADER_DIR=/include; cd ..; make

I set that variable by editing gcc/Makefile.in before running
./configure.


paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]