This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/14435] Ada's testsuite does not use the compiled compiler
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2004 01:54:17 -0000
- Subject: [Bug ada/14435] Ada's testsuite does not use the compiled compiler
- References: <20040304214646.14435.hjl@lucon.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-16 01:54 -------
Actually it is because of the last paragraph in the docs:
In addition, the prefix is used in an unusual way in finding the directories to search for header files. For
each of the standard directories whose name normally begins with /usr/local/lib/gcc (more precisely,
with the value of GCC_INCLUDE_DIR), GCC tries replacing that beginning with the specified prefix to
produce an alternate directory name. Thus, with -Bfoo/, GCC will search foo/bar where it would
normally search /usr/local/lib/bar. These alternate directories are searched first; the standard
directories come next.
So you have use -B./ also.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|driver |ada
Summary|[3.4 regression] |Ada's testsuite does not use
|GCC_EXEC_PREFIX does not |the compiled compiler
|work as expected |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14435