Hello, A quick question - what can be wrong: after installing the newest GPC I still get the same error:
/usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status
while compiling simple:
unit blah; interface implementation end.
To compile a separate unit (i.e. no main program), you have to use the `-c' option, e.g.
gpc -c blah.pas
Emil Jerabek
Is there something wrong with the installation ? (previously I had gcc 2.95.3 installed in /usr/lib, I compiled and installed GPC (by make install) into /usr/local/). Thanks for any hints.
Best Regards, Adam Naumowicz
WWW: http://math.uwb.edu.pl/~adamn/