Compiling GCC for linux with no /usr/include

Paul Jarc prj@po.cwru.edu
Thu Oct 28 18:43:00 GMT 2004


"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



More information about the Gcc mailing list