105 Commits

Author SHA1 Message Date
Thomas Quinot
cf9045e922 Merge rev. 42360 from HEAD:
Make sure missing files installed by automake are copied, not symlinked.
Additional safeguard for G321-026

Subversion-branch: /branches/polyorb/2.2
Subversion-revision: 43261
2007-03-21 16:57:13 +00:00
Thomas Quinot
59f2f10817 Add compatibility processing for Sun CPP (which forbids a space
after the -I command line switch).
For FC15-029

Subversion-branch: /trunk/polyorb
Subversion-revision: 39634
2006-12-18 11:48:24 +00:00
Thomas Quinot
dc36d4fcba Add run_cpp.ksh in source distribution, for users' convenience.
Prompted by FC15-029

Subversion-branch: /trunk/polyorb
Subversion-revision: 39633
2006-12-18 11:16:14 +00:00
Thomas Quinot
9dcfd6b465 Set svn:executable property.
Subversion-branch: /trunk/polyorb
Subversion-revision: 39586
2006-12-14 17:59:59 +00:00
Thomas Quinot
919f4c690d (AM_SUPPORT_RPC_ABORTION): Guard against the case where system.ads does
not
 contain ZCX_By_Default (useful when configuring with an old compiler
just
 for the purpose of building the documentation).

Subversion-branch: /trunk/polyorb
Subversion-revision: 37997
2006-12-06 10:21:28 +00:00
Thomas Quinot
dd0ac2d7ba (AM_SUPPORT_RPC_ABORTION): GNAT 6 with ZCX does not support ATC.
Fixes FB03-004 (regression on 0008-403 and 0008-408 with
GNAT Pro 6.0.0w).

[Imported from Perforce change 10461 at 2006-12-01 22:56:09]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37920
2006-11-03 13:39:12 +00:00
Bob Duff
0e656db21a Add some error checks and some more comments.
[Imported from Perforce change 10420 at 2006-12-01 22:55:28]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37879
2006-10-09 23:34:12 +00:00
Thomas Quinot
42a8abdc79 (Ada_Be.Idl2Ada.Helpers.Gen_Aggregate_Content_Wrapper_Body):
When generating Get_Aggregate_Element for an enum, disable validity
 checks: the enum value might have an invalid representation at this
 point (case of this routine being called by an unmashall routine),
 in which case we know that the invalid value will be overwritten
 anyway.

(support/ada.m4): new macro AM_HAS_PRAGMA_SUPPRESS_VALIDITY_CHECK used
to determine whether the cross compiler supports "Validity_Check" as
a suppressable check name (else use Range_Check).

(configure.ac): Test AM_HAS_PRAGMA_SUPPRESS_VALIDITY_CHECK

(Platform): Set Validity_Check_Name according to the result of the
above test.

Fixes F915-011

[Imported from Perforce change 10396 at 2006-12-01 22:55:12]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37856
2006-09-20 19:34:58 +00:00
Thomas Quinot
95b31f71c1 Keep list of altered source units in marker file.
[Imported from Perforce change 10372 at 2006-12-01 22:54:59]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37832
2006-08-31 14:43:35 +00:00
Thomas Quinot
955a607d3c For build of DSA personality, -a must be passed to gnatmake
(not gnat1).
Further work to fix build failure when DSA is enabled.

[Imported from Perforce change 10324 at 2006-12-01 22:54:08]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37784
2006-08-14 13:34:07 +00:00
Thomas Quinot
5ea7ac14aa Generate IOP and CONV_FRAME supporting files from IDL specifications.
Compile them without -gnatg (for now -gnatg remains enabled only
for the src/ and src/dsa/ directoies).

Submitted by:	Vadim Godunko
Reviewed by:	Thomas Quinot.

[Imported from Perforce change 10306 at 2006-12-01 22:52:59]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37766
2006-08-10 15:04:48 +00:00
Thomas Quinot
4a2e0471e6 Add supporting circuitry to build gnatdist as part of PolyORB.
For F804-015

[Imported from Perforce change 10289 at 2006-12-01 22:52:46]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37749
2006-08-04 18:07:42 +00:00
Thomas Quinot
94b2dae60d Add note about versions of the compiler supporting diadic pragma Debug.
For EB18-013.

[Imported from Perforce change 10288 at 2006-12-01 22:52:46]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37748
2006-08-04 18:02:57 +00:00
Thomas Quinot
ce29682920 Fix previous change: no move is necessary when destination directory
is current directory.
For F613-011

[Imported from Perforce change 10126 at 2006-12-01 22:50:04]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37588
2006-06-14 12:09:27 +00:00
Thomas Quinot
5f0f8e610a gnatmake's '-o' command line flag is only taken into account when
generating a final executable. In the case of compiling a single file,
the output object is generated in the current directory by default.

This change adds handling of "-o path/object.o" directly in
adacompiler, so that libtool can specify an output file of the form
.libs/file.o.

For F613-011

[Imported from Perforce change 10125 at 2006-12-01 22:50:04]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37587
2006-06-14 12:01:46 +00:00
Thomas Quinot
04aae05d96 Do not mark autoconf-generated files read-only, to allow them
to be rebuilt automatically by the Makefiles.

Suggested by:	Vadim Godunko

[Imported from Perforce change 9950 at 2006-12-01 22:22:45]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37415
2006-03-21 11:10:39 +00:00
Thomas Quinot
82c8715558 Reorganize build infrastructure to build overall setup packages
with proper visibility on all personalities.
Ongoing work for F120-030

In support/Makefile.am: On Windows, build native-linker.exe in
addition to linker.exe. For E524-010.

[Imported from Perforce change 9870 at 2006-12-01 22:21:07]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37335
2006-02-02 19:32:06 +00:00
Thomas Quinot
1a836672b9 Pass EXTRA_GNATMAKE_FLAGS to all compilations, not just when
building examples and the test suite.
For that purpose, use gnatmake -c -u instead of gcc in adacompiler.

Fixes F126-003

[Imported from Perforce change 9846 at 2006-12-01 22:19:09]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37311
2006-01-27 11:23:32 +00:00
Thomas Quinot
36702604f0 Perform substitution only on the src subdirectory.
For EB18-013

[Imported from Perforce change 9799 at 2006-12-01 22:15:35]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37266
2005-12-21 14:35:10 +00:00
Thomas Quinot
513dc2a12e Account for the L1/O1/C1 case.
[Imported from Perforce change 9788 at 2006-12-01 22:15:29]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37256
2005-12-15 18:50:37 +00:00
Thomas Quinot
de3edc1a23 Allow the script to be applied explicitly to a single file.
[Imported from Perforce change 9783 at 2006-12-01 22:15:23]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37251
2005-12-15 16:18:55 +00:00
Thomas Quinot
424fbc6255 Add script to enable conditional (two-argument) form of pragma Debug.
For EB18-013

[Imported from Perforce change 9778 at 2006-12-01 22:15:13]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37246
2005-12-15 13:13:25 +00:00
Thomas Quinot
aa051a3d37 Fix PolyORB documentation build process.
For E921-010

[Imported from Perforce change 9575 at 2006-12-01 21:46:44]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37056
2005-09-27 12:19:19 +00:00
Thomas Quinot
335e88dc65 Ensure consistent ordering of entries on all build systems.
[Imported from Perforce change 9350 at 2006-12-01 21:43:16]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36850
2005-05-30 17:16:21 +00:00
Thomas Quinot
c7a03bf897 Get rid of variable i, used only once.
Submitted by:	Vadim Godunko
Reviewed by:	Thomas Quinot

[Imported from Perforce change 9314 at 2006-12-01 21:19:56]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36820
2005-05-04 18:04:29 +00:00