Hi
Is someone can help me?!!!
I really need to use a pascal compiler and I can't run it correctly.
I manage to install a pascal compiler with "gpc-19990118-2rh6_i386(1).rpm...
But, at
first, when I did the command:
$gpc -o test test.p, it says
ld : cannot open crt1.o : no file or directory of this type.
So, I tried to locate this file, and the only solution I find to go on was
to copy it where I want to compile. It was the same for 'begincrt.o' and
'crti.o'.
After this, the message was :
ld : cannot find -lm.
So, I create a variable called LFLAGS to export the libraries:
$ export LFLAGs="-L /usr/i586-glibc20-linux/lib"
and with the line:
$ gpc -o test $LFLAGS test.p
'test' is created but when I run it, the following message appear:
'segmentation fault'
What does it mean?
thanks a lot in advance for your help,
I guess some people use this so explain how you do to run it correctly, it's
really important for me.
Nathalie