Daniel Rudy wrote:
When compiling a unit only, use `-c'. This will inhibit linking (as a unit alone cannot become an executable) and cause no linking errors. However, you normally don't habe to compile units yourself at all, since when you compile a program (with `--automake'), all units used will be compiled as well.
To compile a program that uses CRT, `gpc --automake myprog.pas' should work.
Interesting. Though wouldn't it be good programming practice to individually and periodicly build peices of your code to make sure that your syntax and spelling is correct? I realize that this falls under different programming philosiphies, but coming from a BP 7.0 environment, it was extreamly easy to do to just check things out to make sure that everything was ok.
Sure, if you prefer this, you can do this (just use `-c' then).
Frank