This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: GNAT: automatically build source generation tools
- To: zack at codesourcery dot com
- Subject: Re: GNAT: automatically build source generation tools
- From: Laurent Guerby <guerby at acm dot org>
- Date: Thu, 4 Oct 2001 12:56:58 +0200
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200110032241.AAA26879@ulmo> <20011003161002.S16447@codesourcery.com>
- Reply-To: guerby at acm dot org
> I'm a little confused why the temporary directory is necessary, but
> I'll take your word for it. [...]
! # target independant source files. They are built with the gnatmake
! # provided by the build compiler, and in a separate directory to avoid
! # any interference with the new sources and objects.
I'll expand my comment here. The idea is that if you -I srcdir, you'll
get in the way runtime sources of the new compiler, and they don't mix
with those of the build compiler. By using the build dir, you get
objects and ALI files of the new compiler, bad too. Hence we need a
clean directory (or may be it can be done with complicated flags, I
found the tmp-dir just simpler).
I'll wait for ACT input on this, and resubmit a patch later today
incorporating your fixes.
Thanks for your comments!
--
Laurent Guerby <guerby@acm.org>