I'm using the Delphi 5 command-line compiler to do a build. The build does not report any errors, however it does not generate the EXE file either.
I can confirm the following:
EDIT Although I experienced this with Delphi 5, it is not specific to that version. The Delphi Bug List confirmed the issue in at least D4-D6.
After a lengthy investigation, I've managed pinpoint the problem.
{$ObjExportAll ON}
that was used in some of our third party packages.You can test the bug with the following simple project:
program TestDCC32ObjExportAll;
{$OBJEXPORTALL ON}
begin
end;
Fortunately we don't use BCB at all, so I've simply disabled the directive wherever it occurred.
EDIT
The wonderful resource The Delphi Bug List reports that the issue was confirmed to exist in Delphi 4, 5, and 6. Unfortunately, The Delphi Bug List was discontinued after that. :(