jamieeverest (AT) hotmail (DOT) com (Jamie Everest) wrote in message news:<d076a08d.0412030338.23d5bfe1 (AT) posting (DOT) google.com>...
Quote:
Hi,
I have some Embedded SQL Ada code that I need to preprocess so that I
am able to use it in an Ingres database that I am creating. I have
downloaded the latest version of Ingres (r3.0.1) from CA's website.
However, I notice that the Ada preprocessor is missing, even though
the preprocessors for the other languages (c, cobol, fortran) are
present. Does anybody know why this is? |
I take it you mean the Windows version? The Linux version does have
the Ada precompiler.
The precompilers have always varied slightly from platform to platform
based on what compilers are available and were tested with. 2.6 on
Windows doesn't have support for ESQL/ADA either but neither does it
have ESQL/FORTRAN but it was added in r3. Also for instance VMS is the
only platform I know of that has ESQL/BASIC support.
Quote:
I downloaded the source which seems to suggest that this is supported,
but I do not want the hassle of having to recompile all the library's
etc that are required.
Is this preprocessor available from any other source or are there any
other preprocessors for Ada that will produce code that will be usable
in Ingres? |
I'm not sure but I *think* the problem with ADA on Windows is that the
compiler would be a GNU one which tend to use a different library
format. I know that I've tried in the past to e.g compile ABF using
GCC on Windows and had problems at the linking stage because of this.
In theory, especially with the source, it ought to be possible to get
it to work. In practice it may take quite a bit of work. You could run
your ADA program on Linux and connect to Windows via Ingres Net - is
that feasible for you?
It may be possible to get it to work by