On Sat, 13 Apr 2002, Emil Jerabek wrote:
To compile a separate unit (i.e. no main program), you have to use the `-c' option, e.g.
gpc -c blah.pas
Sorry for that silly question - I was so tired yesterday that only after I sent it I realized what's wrong ;-( But still, I have a problem compiling gpc-20020410 (on top of gcc-core-2.95.2) on my Sparc/Solaris machine. While trying to apply a suitable patch there is an error:
*** *** ../../gcc-2.95.2/gcc/configure detected GCC version 2.95.2. *** GPC 2.1 requires a patch to GCC to build with version 2.95.2. *** This patch will now be applied. *** Press ENTER to continue, Ctrl-C to abort. ***
Malformed patch at line 95: patch: Line must begin with '+ ', ' ', or '! '. Configure in /export/home/adamn/install/gpc/build/gcc failed, exiting.
Previously I had no problems with this patch - maybe now it is not fully compatible with native solaris patch anymore ??
Regards, Adam Naumowicz
-------------------------------------- WWW: http://math.uwb.edu.pl/~adamn/ --------------------------------------