OSDN Git Service

2007-04-20 Vincent Celier <celier@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Jun 2007 10:38:29 +0000 (10:38 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Jun 2007 10:38:29 +0000 (10:38 +0000)
commitbf82813bec8e612c0a9845444fd8e5b9dc9fcfd6
tree8aaae1b1f0d5ee967a99f3a84e73a2967488926f
parent719e032b34c624e852c97de2887f1ad1ae88fa64
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
gcc/ada/mlib-utl.adb
gcc/ada/mlib-utl.ads
gcc/ada/mlib.adb
gcc/ada/mlib.ads