According to Nils Bokermann:
According to Krzysztof Kwapien:
But when i tried to compile it with gpc -c hello.pas <- this worked gpc -o hello hello.o <- this crashed with a SIGSEGV ..... it crashed when linking.
Is it a ld-Problem? I've just tried it, but it works very well.
I also suspect a ld-related problem here. Try to upgrade your "binutils". Ld version 2.7 is known to work with gpc 2.0.
In case this does not solve the problem, please post some information about your system here, like Nils did:
Here is my system-info: reality:~/pascal$ gpc -v Reading specs from /usr/lib/gcc-lib/i486-unknown-linux/2.7.2.1.f.1/specs gpc version 2.0(2.7.2.1.f.1) reality:~/pascal$ ld -v ld version 2.7 (with BFD 2.7.0.3)
Good luck,
Peter
e-mail: peter.gerwinski@uni-essen.de home address: D"usseldorfer Str. 35, 45145 Essen, Germany WWW: http://agnes.dida.physik.uni-essen.de/~peter/