1
Make sure never to call the "gnat" command, just "gnatmake" or "gnatgcc".
4
Ludovic Brenta, 2005-09-29.
6
--- ad-driver.adb~ 2003-11-20 11:16:55.000000000 +0100
7
+++ ad-driver.adb 2005-09-29 18:38:50.000000000 +0200
9
-- it needs (configuration pragmas, naming schemes, etc.)
10
-- Note: we also pass on -X options!
11
AD.Compiler.Set_Compile_Command
12
- ("gnat compile -c -gnatc -gnatt -P" &
13
+ ("gnatmake -c -gnatc -gnatt -P" &
14
AD.Projects.Get_Project_File_Name &
15
ASU.To_String (Pass_On_Options));
17
--- ad-projects.ads~ 2003-11-20 11:16:52.000000000 +0100
18
+++ ad-projects.ads 2005-09-29 18:38:50.000000000 +0200
20
-- specified and no "-f" option is given, AdaBrowse will process all specs
21
-- from the source files of the root project.
23
- -- Warning: if a project file is given, the compile command is changed to
24
- -- "gnat compile -P<file_name>", if it starts with the default compiler
25
- -- name (which is "gcc" -- or "gnatgcc" on some Linux installations.)
26
+ -- Warning: if a project file is given, the compile command is
27
+ -- changed to "gnatmake -c -gnatc -gnatt -P<file_name>", if it
28
+ -- starts with the default compiler name (which is "gcc" -- or
29
+ -- "gnatgcc" on some Linux installations.)
31
-- The AdaBrowse currently doesn't handle the other project-related
32
-- switches of GNAT tools, i.e. "-X" and "-vP". To define values for