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) /usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.7.2.1/ld -e start -dc -dp -o fibonacci /lib/crt0.o -L/usr/local/lib/gcc-lib/sparc-sun-sunos4.1/2.7.2.1 -L/usr/local/lib fibonacci.pas -lgcc -lc -lgcc collect2: ld returned 4 exit status ld: fibonacci.pas: bad magic number
The system: gpc 2.0 on Sunos 4.1.3 (gcc 2.7.2.1 already installed and working OK).
Some background: 1) 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. 2) copying 'collect2' from the gcc directory to the gpc1 directory (suggested by the FAQ) did not solve the problem.
Can anyone help with this or at least tell me how I can get more info on it?
Thanks,
Rod.
|===========================================================================| | Rod Evans Divisional Manager CSIRO Division of Animal Production | | (Networks/Computing) Locked Bag 1, Delivery Centre | | Blacktown, NSW 2148 | | Internet: AUSTRALIA | | R.Evans@prospect.anprod.csiro.au Tel: (61) (02) 9840 2700 | | Fax: 9840 2940 | |===========================================================================|