Re: Cross-Compiling Ada to Netware with GNAT



Marco wrote:
Jeffrey > I suspect there's probably a fairly easy way to get a version
of GNAT that will
produce output suitable for nlmconv, but as a last resort you could look into a
compiler that generates C as its intermediate language, such as the one from
Sofcheck:

http://www.sofcheck.com/products/adamagic.html

I have never used this product but it seems that it would be kind of
a pain to "debug" or integrate from the generated code back to the
source code (by the way what marketing guy came up with those horrible
product names).

It is quite common for C to be a target language.
The C files refer back to the original sources
via #line directives, for example. This has worked well
for several decades, in several setups.

.



Relevant Pages

  • Re: Syntax for union parameter
    ... It allows a compiler designer to create a compiler that implements ... in how the mechanics of the language could be implemented. ... I believe Java got it wrong in this case (if Java really does left to ... a source code line must be filled should be the absolute determining ...
    (comp.lang.c)
  • Re: Syntax for union parameter
    ... It allows a compiler designer to create a compiler that implements ... source code whose behavior is well defined by the C standard. ... in how the mechanics of the language could be implemented. ... C has done quite well *without* defining the order of evaluation of most ...
    (comp.lang.c)
  • Re: A C Adventure: your comments are welcome
    ... in one language - the source language - and translates it into an ... The root form of compiler and interpreter is a verb and not a noun. ... source code and input and executes the source code. ...
    (comp.lang.c)
  • Re: Syntax for union parameter
    ... unknown at some point in source code. ... about which form of declaration to use. ... A typical compiler would also accept a call `func`, `func`, ... It is insufficient for a language ...
    (comp.lang.c)
  • Re: Dad upgrade.
    ... The code is the cct but the source code is the schematics ... and that's either done by a compiler (as with normal ... into a machine language before a real computer can actually execute it. ...
    (uk.comp.sys.mac)