Hi Last year I could precompile the units with -c and then go to the demos directory and, for instance, gpc -o pi pi.pas and it worked. (gpc-19991030) Not now. Precompile the units and go to the demos directory and gpc -o pi pi.pas gives two link errs. gpc --automake -o pi pi.pas works fine, but if I do gpc -o pi pi.pas right afterwards I get the link errs again. (gpc-200007xx but don't know when the change occurred) crtdemo does same, just more errs. Thanks Russ
Russ Whitaker wrote:
Last year I could precompile the units with -c and then go to the demos directory and, for instance, gpc -o pi pi.pas and it worked. (gpc-19991030)
Not now.
Precompile the units and go to the demos directory and gpc -o pi pi.pas gives two link errs.
gpc --automake -o pi pi.pas works fine, but if I do gpc -o pi pi.pas right afterwards I get the link errs again.
Yes, that's a known bug. For now, use --automake. Later, a utility will allow building programs without recompiling units. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
participants (2)
-
Frank Heckenbach -
Russ Whitaker