Re: Delphi language support in CMake build system



"eric.lemings@xxxxxxxxx" <eric@xxxxxxxxxxx> wrote in message
news:aab9f68b-b2ba-47e8-8d27-8ac6de9647f7@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[...]
This example translates Delphi source directly into an executable.
Does anyone have an example of translating/compiling the source for a
simple Delphi program into an intermediate representation before
"linking" the executable?

Compiling individual units will generate .dcu files, which are object
files. Compiling the project file will generate an executable. It
should be possible to do that from object files without recompiling
or even having the source.

But the project file is source, and compiling it will both compile
and link it. Delphi was not built to play nice with other languages
and build systems. Or to syntax-check the project file (which may be
a complete program in itself), without even trying to link it if the
compile succeeds.

Groetjes,
Maarten Wiltink


.



Relevant Pages

  • Unable to get the project file from the Web Server
    ... I'm compiling an asp.net application and having troubles. ... and "Unable to get the project file from the Web server" for the web ... Is there a technical reason why I need IIS pointing to the application? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Setting up an Ada hello world project
    ... Oh whoops of course it put the compiled exe where I ran the command ... I got rid of the warning too. ... sure how to go about compiling a hello world application. ... end Hello;You don't need a project file to compile a hello world program. ...
    (comp.lang.ada)
  • Re: Error in VS2005
    ... error C2059: syntax error: 'string' ... Are you compiling as C or as C++? ... What's on the preceding line? ... project was upgraded from VS6 to VS2005 it marked the project file with /TP ...
    (microsoft.public.vc.language)
  • Re: DLL Troubles
    ... My guess is I'm not compiling this properly. ... just 'gnatmake -Pmydll', which uses the project file for all the ... How should I be compiling this DLL? ...
    (comp.lang.ada)
  • Re: Modules and ld command
    ... > My goal would be to have only one single module to load with modprobe ... an initialization function, I don't think the final module can have ... multiple object files with ld, but those object files wouldn't be ... present when compiling the other. ...
    (comp.os.linux.development.system)