This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: committed: fix in handling of Ada project files
- From: Arnaud Charlet <charlet at ACT-Europe dot FR>
- To: Laurent GUERBY <laurent at guerby dot net>
- Cc: Arnaud Charlet <charlet at ACT-Europe dot FR>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 5 Oct 2004 10:14:11 +0200
- Subject: Re: committed: fix in handling of Ada project files
- References: <20041004152127.GW18649@aix.act-europe.fr> <1096915502.29350.42.camel@pc.site>
> Hi, gnattools no longer build, something must be missing:
Indeed, I missed the update on mlib-tgt.ads:
2004-10-05 Vincent Celier <celier@gnat.com>
* mlib-tgt.ads: (Build_Dynamic_Library): New parameter Options_2
Now done.
Arno
--
Index: mlib-tgt.ads
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/mlib-tgt.ads,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- mlib-tgt.ads 25 Jun 2004 16:39:29 -0000 1.8
+++ mlib-tgt.ads 5 Oct 2004 08:13:11 -0000 1.9
@@ -101,6 +101,7 @@ package MLib.Tgt is
Foreign : Argument_List;
Afiles : Argument_List;
Options : Argument_List;
+ Options_2 : Argument_List;
Interfaces : Argument_List;
Lib_Filename : String;
Lib_Dir : String;
@@ -116,8 +117,10 @@ package MLib.Tgt is
--
-- Afiles is the list of ALI files for the Ada object files
--
- -- Options is a list of options to be passed to the tool (gcc or other)
- -- that effectively builds the dynamic library.
+ -- Options and Options_2 are lists of options to be passed to the tool
+ -- (gcc or other) that effectively builds the dynamic library. Options
+ -- are passed before the object files, Options_2 are passed after the
+ -- object files.
--
-- Interfaces is the list of ALI files for the interfaces of a SAL.
-- It is empty if the library is not a SAL.