Frank Heckenbach wrote:
Adriaan van Os wrote:
I am experimenting a bit with gpc and gcc:
[G4:~/gnu/testgpc/demos] adriaan% gcc hello.pas gcc: Internal GPC problem: internal option `--amtmpfile' not given
Is this a compiler, configure or install problem ? Or is it a non-feature ?
A usage problem. ;-) The `gcc' driver doesn't support automake, so you can't use it to compile Pascal programs yet. It might work with `--no-automake' and building everything manually (and linking with `-lgpc -lm' explicitly).
I just found this:
[G4:~/gnu/testgpc/demos] adriaan% gcc --amtmpfile -lSystem -lgpc hello.pas
It does the job.