Mariusz Zynel wrote:
$ gpc -s --borland-pascal -DGPC -DSOLARIS --unit-path=../obj -o accom accom.dpr
$ gpc -s --delphi -DGPC -DSOLARIS --unit-path=../obj -o accom -x pascal accom.dpr GPC does not automatically recognize the suffix `.dpr' for Pascal.
Even if I exchange --borland-pascal for --object-pascal which seems to be Delphi compatibility mode, the story repeats. [...]
Nope, `--object-pascal' refers to ANSI Draft Object Pascal. `--delphi' is for (rudimentary) Delphi compatibility mode. Be prepared to have some Delphi things not working. Better do not use all those `--foo-pascal' switches. They are just for switching _off_ GPC extensions. Peter -- http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-19990118 GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422 keys: ftp://ftp.gerwinski.de/pub/keys/ - AntiSpam: http://spam.abuse.net