summaryrefslogtreecommitdiff
path: root/gcc/ada/mlib.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-06 10:38:29 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-06 10:38:29 +0000
commitbf82813bec8e612c0a9845444fd8e5b9dc9fcfd6 (patch)
tree8aaae1b1f0d5ee967a99f3a84e73a2967488926f /gcc/ada/mlib.ads
parent719e032b34c624e852c97de2887f1ad1ae88fa64 (diff)
downloadgcc-bf82813bec8e612c0a9845444fd8e5b9dc9fcfd6.tar.gz
2007-04-20 Vincent Celier <celier@adacore.com>
* mlib.ads, mlib.adb (Build_Library): Do not use hard-coded directory separator, use instead the proper host directory separator. (Copy_ALI_Files): Make sure that an already existing ALI file in the ALI copy dir is writable, before doing the copy. * mlib-utl.ads, mlib-utl.adb: (Gcc): If length of command line is too long, put the list of object files in a response file, if this is supported by the platform. (Ar): If invocation of the archive builder is allowed to be done in chunks and building it in one shot would go above an OS dependent limit on the number of characters on the command line, build the archive in chunks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125435 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/mlib.ads')
-rw-r--r--gcc/ada/mlib.ads9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ada/mlib.ads b/gcc/ada/mlib.ads
index c993d8e9539..2c020fdda70 100644
--- a/gcc/ada/mlib.ads
+++ b/gcc/ada/mlib.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1999-2005, AdaCore --
+-- Copyright (C) 1999-2007, AdaCore --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -27,9 +27,10 @@
-- This package provides the core high level routines used by GNATMLIB
-- and GNATMAKE to build libraries
+with Namet; use Namet;
+with Osint; use Osint;
+
with GNAT.OS_Lib; use GNAT.OS_Lib;
-with Osint; use Osint;
-with Types; use Types;
package MLib is
@@ -60,7 +61,7 @@ package MLib is
procedure Copy_ALI_Files
(Files : Argument_List;
- To : Name_Id;
+ To : Path_Name_Type;
Interfaces : String_List);
-- Copy all ALI files Files to directory To.
-- Mark Interfaces ALI files as interfaces, if any.