diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2004-04-21 12:10:33 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2004-04-21 12:10:33 +0200 |
commit | af4b94345e257e98a61127d9ea9624ff4dabc714 (patch) | |
tree | cb483e73b8234a7c09313d872880ca8992c5d9e3 /gcc/ada/gnat_ugn.texi | |
parent | 0a7460199f1c204bf6b165fc8d29bfc5a5c8b0bf (diff) | |
download | gcc-af4b94345e257e98a61127d9ea9624ff4dabc714.tar.gz |
[multiple changes]
2004-04-21 Pascal Obry <obry@gnat.com>
* adaint.c (__gnat_portable_spawn): Quote first argument (argv[0])
passed to spawnvp() to properly handle program pathname with spaces on
Win32.
2004-04-21 Emmanuel Briot <briot@act-europe.fr>
* g-debpoo.adb (Print_Info): Avoid extra work if Display_Slots is False.
(Allocate, Deallocate, Free_Physically): Make sure the tasks are
unlocked in case of exceptions.
2004-04-21 Joel Brobecker <brobecker@gnat.com>
* gigi.h (get_target_no_dollar_in_label): Remove extern declaration.
This function does not exist anymore.
2004-04-21 Thomas Quinot <quinot@act-europe.fr>
* gnatbind.adb, gnatlink.adb: Update name of imported C symbol.
* link.c: Move variables to the __gnat name space.
* Makefile.in: list link.o explicitly when needed.
* mlib.adb: Remove pragma Linker_Option for "link.o" from mlib.
2004-04-21 Javier Miranda <miranda@gnat.com>
* einfo.adb (Original_Access_Type): New subprogram
(Set_Original_Access_Type): New subprogram
(Write_Field21_Name): Write the name of the new field
* einfo.ads (Original_Access_Type): New field present in access to
subprogram types.
Addition of two new entities: E_Anonymous_Access_Subprogram_Type, and
E_Anonymous_Access_Protected_Subprogram_Type.
* lib-xref.adb (Output_One_Ref): Give support to anonymous access to
subprogram types.
* lib-xref.ads (Xref_Entity_Letters): Initialize values corresponding
to anonymous access to subprogram types.
* sem_attr.adb (Resolve_Attribute): Give support to anonymous access
to subprogram types.
* sem_ch3.adb (Access_Definition): Complete decoration of entities
corresponding to anonymous access to subprogram types.
(Analyze_Component_Declaration): Add new actual to the call to
subprogram replace_anonymous_access_to_protected_subprogram.
(Array_Type_Declaration): Add new actual to the call to subprogram
replace_anonymous_access_to_protected_subprogram.
(Process_Discriminants): Add new actual to the call to subprogram
replace_anonymous_access_to_protected_subprogram.
(Replace_Anonymous_Access_To_Protected_Subprogram): New formal.
* sem_ch3.ads (Replace_Anonymous_Access_To_Protected_Subprogram): New
formal.
* sem_ch6.adb, sem_type.adb, sem_res.adb: Give support to anonymous
access to subprogram types.
* sem_util.adb (Has_Declarations): Addition of package_specification
nodes.
2004-04-21 Ed Schonberg <schonberg@gnat.com>
* sem_prag.adb (Make_Inline): If subprogram is a renaming, propagate
inlined flags to renamed entity only if in current unit.
2004-04-21 Thomas Quinot <quinot@act-europe.fr>
* s-parint.ads: Add DSA implementation marker.
* rtsfind.ads, rtsfind.adb, snames.ads, snames.adb, s-rpc.adb: Use the
value of System.Partition_Interface.DSA_Implementation to determine
what version of the distributed systems annex is available (no
implementation, GLADE, or PolyORB).
2004-04-21 Joel Brobecker <brobecker@gnat.com>
* targtyps.c (get_target_no_dollar_in_label): Remove, no longer used.
2004-04-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* utils.c (convert, case CONSTRUCTOR, COMPONENT_REF): Do not make node
with new type if alias sets differ.
Fixes ACATS c41103b.
2004-04-21 Vincent Celier <celier@gnat.com>
* prj.ads: Remove FORTRAN as an accepted language: not tested yet.
Add array Lang_Args for the language specific compiling argument
switches.
* gnat_ugn.texi: Explain in more details when a library is rebuilt.
2004-04-21 Sergey Rybin <rybin@act-europe.fr>
* gnat_rm.texi: Update the descripton of the Eliminate pragma
according to the recent changes in the format of the parameters of the
pragma (replacing Homonym_Number with Source_Location).
From-SVN: r80956
Diffstat (limited to 'gcc/ada/gnat_ugn.texi')
-rw-r--r-- | gcc/ada/gnat_ugn.texi | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi index 795b2ec48b9..b009ec630cd 100644 --- a/gcc/ada/gnat_ugn.texi +++ b/gcc/ada/gnat_ugn.texi @@ -12441,12 +12441,37 @@ When @command{gnatmake} detects that a project file is a library project file, it will check all immediate sources of the project and rebuild the library if any of the sources have been recompiled. -When a library is built or rebuilt, an attempt is made to delete all +Standard project files can import library project files. In such cases, +the libraries will only be rebuild if some of its sources are recompiled +because they are in the closure of some other source in an importing project. +Sources of the library project files that are not in such a closure will +not be checked, unless the full library is checked, because one of its sources +needs to be recompiled. + +For instance, assume the project file @code{A} imports the library project file +@code{L}. The immediate sources of A are @file{a1.adb}, @file{a2.ads} and +@file{a2.adb}. The immediate sources of L are @file{l1.ads}, @file{l1.adb}, +@file{l2.ads}, @file{l2.adb}. + +If @file{l1.adb} has been modified, then the library associated with @code{L} +will be rebuild when compiling all the immediate sources of @code{A} only +if @file{a1.ads}, @file{a2.ads} or @file{a2.adb} includes a statement +@code{"with L1;"}. + +To be sure that all the sources in the library associated with @code{L} are +up to date, and that all the sources of parject @code{A} are also up to date, +the following two commands needs to be used: + +@smallexample +gnatmake -Pl.gpr +gnatmake -Pa.gpr +@end smallexample + +When a library is built or rebuilt, an attempt is made first to delete all files in the library directory. All @file{ALI} files will also be copied from the object directory to the library directory. To build executables, @command{gnatmake} will use the -library rather than the individual object files. The copy of the @file{ALI} -files are made read-only. +library rather than the individual object files. @c ********************************************** |