To compile Delphi code, you need a compiler. There are no free versions in Delphi, so if you do not find the old one, you will have to buy Delphi. Delphi comes with a command line compiler like gcc, and can compile programs without an IDE.
Delphi 2006 and before win32:
dcc32 YourProject.dpr
Delphi 2006 and before .Net:
dccil YourProject.dpr
Delphi 2007 and after:
msbuild YourProject.dproj
This will result in a compiled binary, and in the case of an EXE, you can run it the way you used to.
There are free Delphi alternatives such as FreePascal and their free Lazarus IDE. I have not tested myself, but I am sure that it comes with a command line compiler.
Lars truijens
source share