Hi,
after building gpc 20021111 with the 3.1.1 backend (on Linux/IA32) I've installed it by "make pascal.install-with-gcc". The compiler then wouldn't compile even a trivial "program p; begin end.", collect2 died with a complain that it can't find libgcc_eh (sorry, I'm writing this on another machine, and I don't recall the exact error message). libgcc_eh.a was actually built, and moving it to the destination directory solved the problem, so I assume the trouble is in the above mentioned target in the Makefile.
Emil
Emil Jerabek wrote:
Hi,
after building gpc 20021111 with the 3.1.1 backend (on Linux/IA32) I've installed it by "make pascal.install-with-gcc". The compiler then wouldn't compile even a trivial "program p; begin end.", collect2 died with a complain that it can't find libgcc_eh (sorry, I'm writing this on another machine, and I don't recall the exact error message). libgcc_eh.a was actually built, and moving it to the destination directory solved the problem, so I assume the trouble is in the above mentioned target in the Makefile.
Oh yes, I forgot to update this part of the Makefile. (Also collect2 wasn't installed, I don't know if that's a real problem.) Try this patch.
Frank