This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: committed: fix in handling of Ada project files


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]