Re: Delphi language support in CMake build system
- From: Rob Kennedy <me3@xxxxxxxxxxx>
- Date: Wed, 22 Oct 2008 02:08:59 -0500
eric.lemings@xxxxxxxxx wrote:
On Oct 20, 11:54 am, Bart <broersma.juda_ANTISP...@xxxxxxxxxx> wrote:Delphi used to have a commandline compiler (in D3 it was called
dcc32.exe)
F:> type hello.pas
{$APPTYPE CONSOLE}
program hallo_world;
begin
writeln('Hello World');
end.
F:>dcc32 hello.pas
Delphi for Win32 Version 10.0 Copyright (c) 1983,97 Borland
International
hello.pas(8)
9 lines, 0.60 seconds, 10184 bytes code, 1377 bytes data.
F:>dir hello*
HELLO PAS 87 20-10-08 19:48 hello.pas
HELLO EXE 15.360 20-10-08 19:49 hello.exe
I'm not sure if this still applies to newer Delphi versions.
This example translates Delphi source directly into an executable.
Yes. And if it can do that, then the sanity check that you said CMake is looking for has obviously passed.
Does anyone have an example of translating/compiling the source for a
simple Delphi program into an intermediate representation before
"linking" the executable?
Toward what purpose?
What's the use case for a standalone DCU, not tied to any project?
I compile C and C++ projects all the time. There are two reasons I ever compile: I want an executable file, or I just want to see whether it builds. In the former case, I'm looking for a .exe or .dll file, and in the latter case, I'm looking for (a lack of) error messages and not for any file at all. I'm never looking for a .o file.
--
Rob
.
- References:
- Delphi language support in CMake build system
- From: eric.lemings@xxxxxxxxx
- Re: Delphi language support in CMake build system
- From: Rob Kennedy
- Re: Delphi language support in CMake build system
- From: eric.lemings@xxxxxxxxx
- Re: Delphi language support in CMake build system
- From: Bart
- Re: Delphi language support in CMake build system
- From: eric.lemings@xxxxxxxxx
- Delphi language support in CMake build system
- Prev by Date: Re: Inherited explained
- Next by Date: Re: Inherited explained
- Previous by thread: Re: Delphi language support in CMake build system
- Next by thread: Re: Delphi language support in CMake build system
- Index(es):
Relevant Pages
|