Hello!
According to Rod Evans:
If anyone can help with this, would you please email me direct since I'm not subscribed to the mailing list.
The problem: general linker problems in gpc 2.0. eg. gpc -v -o fibonacci fibonacci.pas Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.7.2.1/specs gcc version 2.0(2.7.2.1) [...]
This looks as if your `gcc.c' were not patched for GPC but the original GCC version. Thus your `gpc' does not recognize the extension `.pas' as Pascal source but takes it as linker input.
- The first 'make' had a VPATH problem which caused it to fail for target
gpc1; following the FAQ, I removed those '.o' files from the gcc object directory. I then got a clean make.
Maybe still something went wrong with this - at least for the `gpc' driver program, not for the actual compiler `gpc1'.
To solve the problem, recompile `gcc.c' to `gcc.o' and watch whether the `-DGPC' switch is given.
For a general solution to the VPATH problem it might help to upgrade to a recent beta version of GPC; see
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/beta/
Hope this helps,
Peter -- Peter Gerwinski, Essen, Germany, free physicist and programmer Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - 1 Oct 1997 PGP key fingerprint: AC 6C 94 45 BE 28 A4 96 0E CC E9 12 47 25 82 75 Fight the SPAM! - http://maps.vix.com/