On Sun, 29 Oct 2006 21:43:04 +0100 Frank Heckenbach ih8mj@fjf.gnu.de wrote:
Frank McCormick wrote:
crt.pas:(.text+0x1e0): undefined reference to `crt_Window' crt.pas:(.text+0x1e5): undefined reference to `crt_ClrScr' /tmp/ccOU5D50.o: In function `crt_GetScreenSize': crt.pas:(.text+0x201): undefined reference to `crt_Check_WinChanged'
//snip//
What am I doing wrong ???
To compile a unit (such as CRT), use "-c" on the command-line.
However, when using automake (or the GP utility), you don't usually have to compile units explicitly at all. Just compile your main program (which uses CRT, directly or via another unit), and GPC should compile and link all that's needed.
That fixed it - wonderful ! And your GP utility is great this is starting to be fun again! Thanks for the advice.
Cheers
Frank in Montreal