summaryrefslogtreecommitdiff
path: root/gcc/ada/mlib-tgt-vxworks.adb
diff options
context:
space:
mode:
authorNicolas Setton <setton@act-europe.fr>2004-10-27 14:27:53 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2004-10-27 14:27:53 +0200
commitc4820158f5b080d4aadd9e0ec2ba0dc6377d7ca1 (patch)
treeb10661d75b3825e90616a0f19dcab901c24cc3d5 /gcc/ada/mlib-tgt-vxworks.adb
parent41cbab340832a48787eee35753755f2b3f4ec8fd (diff)
downloadgcc-c4820158f5b080d4aadd9e0ec2ba0dc6377d7ca1.tar.gz
mlib-tgt-darwin.adb: New file.
2004-10-26 Nicolas Setton <setton@act-europe.fr> * mlib-tgt-darwin.adb: New file. * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb, mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-mingw.adb, mlib-tgt-vxworks.adb (Archive_Indexer_Options): New subprogram body. * Makefile.in: Add support for building shared libraries under Darwin. (EXTRA_GNATRTL_NONTASKING_OBJS, ppc-vxworks): Add s-vxwexc.o, containing the low level EH init subprogram to be called from __gnat_initialize. * mlib-tgt.ads, mlib-tgt.adb (Archive_Indexer_Options): New subprogram, indicates which options to pass to the archive indexer. * mlib-utl.adb: Add support for calling ranlib with additional options. This is needed for instance under Mac OS X. (Ranlib_Options): New global variable, used to store the potential options to pass to ranlib. (Ar): Use Ranlib_Options when spawning ranlib. (Initialize): Set the value of ranlib option. From-SVN: r89639
Diffstat (limited to 'gcc/ada/mlib-tgt-vxworks.adb')
-rw-r--r--gcc/ada/mlib-tgt-vxworks.adb9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ada/mlib-tgt-vxworks.adb b/gcc/ada/mlib-tgt-vxworks.adb
index a304b51a4ab..51b911afde5 100644
--- a/gcc/ada/mlib-tgt-vxworks.adb
+++ b/gcc/ada/mlib-tgt-vxworks.adb
@@ -81,6 +81,15 @@ package body MLib.Tgt is
return "ranlib" & Get_Target_Suffix;
end Archive_Indexer;
+ -----------------------------
+ -- Archive_Indexer_Options --
+ -----------------------------
+
+ function Archive_Indexer_Options return String_List_Access is
+ begin
+ return new String_List (1 .. 0);
+ end Archive_Indexer_Options;
+
---------------------------
-- Build_Dynamic_Library --
---------------------------