This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Silly branch compile failure, stage 1
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: Silly branch compile failure, stage 1
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Mon, 2 Apr 2001 19:29:47 +0100
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <200104021815.OAA21714@caip.rutgers.edu>
Kaveh R. Ghazi wrote:-
> This is the crucial bit, the tests are spuriously failing because they
> can't find these include files. The -I flags passed in look strange.
>
> I think you need to look at why these don't match up. Are you by
> chance building in a subdirectory of the srcdir? (I don't think that
> is supported.)
I build with my directory hierarchy as follows (and always have done):-
gcc -- gcc -- cp
-- f
-- objc
-- (etc)
-- build
-- fastjar
-- boehm-gc
-- (etc)
and build from the "build" directory. Thus, my configure command starts
with
../configure --options
This has worked for over a year, until just now, so I hope it hasn't
become unsupported. Besides, it's working on mainline still. Does this
count as building in a subdirectory of the srcdir? It's a subdirectory
of the toplevel "gcc", along with boehm-gc and stuff.
I'd love to help find this, but I really don't understand the configury
stuff at all.
Neil.