This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR ada/42254, avoid providing multiple copies of object files to link of GNAT tools
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Simon Wright <simon at pushface dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 1 Feb 2010 08:23:24 +0100
- Subject: Re: [PATCH] PR ada/42254, avoid providing multiple copies of object files to link of GNAT tools
- References: <4385C106-8FD1-49F8-8B06-1A1368A943B0@pushface.org> <20100126213028.GA91716@adacore.com> <9D87A579-B598-44AD-9DF9-0E78FAA481FA@pushface.org> <20100128074648.GA40497@adacore.com> <E4356FAE-1651-44F9-89F2-84E6FA7C0061@pushface.org> <20100129075455.GA91769@adacore.com> <F8682F01-C8FE-4381-BFE5-5B1E69211BB8@pushface.org>
> Anyway, in the interests of at least being able to build the compiler, I've tested
> on x86_64-apple-darwin10, i686-apple-darwin10, x86_64-unknown-linux-gnu
> [Debian 5] and powerpc-wrs-vxworks hosted on i686-apple-darwin10.
You've broken this line:
-TEXI2PDF = texi2pdf
+EXI2PDF = texi2pdf
Also, you've duplicated the same comment in two places, which is not
desirable.
And you mention that the dummy setting of TOOLS_GNATLIBC and TOOLS_NOSTDLIB
is for darwin only. Would be better to document in a general way how/when
these variables should be set.
> 2010-01-31 Simon Wright <simon@pushface.org>
> PR ada/42554
> * gcc-interface/Makefile.in (TOOLS_LIBS, GNATLINK_OBJS,
> GNATMAKE_OBJS, common-tools, ../../gnatmake$(exeext),
> ../../gnatlink$(exeext), gnatmake-re, gnatlink-re): on
> Darwin, ensure that the linker only sees each object file
> once.
Arno