From: bbalfour@std.caci.com (Brad Balfour)
Subject: Re: Pro*Ada and Gnat
Date: 1997/03/03
Date: 1997-03-03T00:00:00+00:00 [thread overview]
Message-ID: <bbalfour-0303971409520001@stmac0088.std.caci.com> (raw)
In-Reply-To: 5f9hlt$7j9@hetre.wanadoo.fr
In article <5f9hlt$7j9@hetre.wanadoo.fr>, Rosen.Adalog@wanadoo.fr wrote:
>We have been unable to use Pro*Ada (Oracle) with Gnat. Apparently,
>Pro*Ada uses heavily unchecked_conversions between pointers and
>adresses, and other doubtful features; has anyone succeded to use
>Pro*Ada with Gnat ?
In 1995 and early 1996, the Airfields project (one of the AJPO sponsored
Ada 95 Transition Partnership Projects) ran up against this same barrier.
The project's conclusion was that the Pro*Ada bindings and tools are
compiler specific -- they only work with the Ada 83 VADS compiler and no
other. The project attempted to make use of the suggestions from ACT
regarding fat vs. thin pointers. However, this was not enough to overcome
the compiler specific choices made in the Pro*Ada bindings. In many
places, the binding does not hard code rep spec values, but rather depends
on the memory size allocations that VADS chooses for Ada objects to match
the C code. GNAT's choices did not match. Since the C headers are *not*
provided with Pro*Ada, and the Ada code does not have rep specs, the
project was unable to match GNAT to the Pro*Ada bindings.
Instead, this project made use of the Ada SQL Connect product from OIS
<http://www.ois.com>. The software enabled the use of Oracle from Ada
95/GNAT via ODBC. It worked very well.
Brad
--
Brad Balfour
AJPO Ada 95 Transition Support SIGAda WWW Server
CACI, Inc. http://www.acm.org/sigada/
(703) 277-6767 and also try:
bbalfour@std.caci.com http://www.adahome.com/
3930 Pender Drive Fairfax, VA 22030
"...they even have rules for exceptions" -- Dewar and Schonberg
next prev parent reply other threads:[~1997-03-03 0:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-03-01 0:00 Pro*Ada and Gnat J-P. Rosen
1997-03-03 0:00 ` Robert Dewar
1997-03-03 0:00 ` Brad Balfour [this message]
1997-03-04 0:00 ` J-P. Rosen
1997-03-11 0:00 ` Ed Bruce
1997-03-03 0:00 ` Laurent Guerby
1997-03-03 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox