This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compiling GCC for linux with no /usr/include
- From: prj at po dot cwru dot edu (Paul Jarc)
- To: "Casey Allen Shobe" <cshobe at osss dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 28 Oct 2004 12:41:20 -0400
- Subject: Re: Compiling GCC for linux with no /usr/include
- Organization: What did you have in mind? A short, blunt, human pyramid?
- References: <50379.65.161.188.11.1098981625.squirrel@mail.osss.net>
"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