hi again, this time it is because i tried to compile programs using "uses Crt" outside Rhide (i use it as my favourite IDE)
this is the command line i typed (i found it somewhere in the FAQ):
girardi@ux(tty4)~/devel$ gpc -g --automake -o foo foo.pas gpc: installation problem, cannot exec `cc1': No such file or directory gpc1: gpc exited with status 1 /usr/lib/gcc-lib/i486-linux/egcs-2.91.66/units/crt.pas:345: `/usr/lib/gcc-lib/i486-linux/egcs-2.91.66/units/crtc.c' could not be compiled gpc1: gpc exited with status 1 foo.pas:2: module `crt' could not be compiled
so, what's up?
my distrib. is Debian 2.1 (slink), and all dependencies are OK. but there's still something wrong.
sincerely, -- Nicola Girardi girardi(at)keycomm.it Key fingerprint = CD 7D 57 C2 52 73 67 B5 13 48 AA 8C 3E 7F 13 DC
Hi!
Nicola Girardi wrote:
girardi@ux(tty4)~/devel$ gpc -g --automake -o foo foo.pas gpc: installation problem, cannot exec `cc1': No such file or directory
That's a minor installation problem: Your versions of GPC and GCC do not coincide, so GPC does not find your C compiler.
To work around you can copy or link the stages of GCC (the files in /usr/lib/gcc-lib/<platform>/<version>/) to GPC's corresponding directory (/usr/lib/gcc-lib/i486-linux/egcs-2.91.66/).
Hope this helps,
Peter
Hi!
Nicola Girardi wrote:
girardi@ux(tty4)~/devel$ gpc -g --automake -o foo foo.pas gpc: installation problem, cannot exec `cc1': No such file or directory
That's a minor installation problem: Your versions of GPC and GCC do not coincide, so GPC does not find your C compiler.
To work around you can copy or link the stages of GCC (the files in /usr/lib/gcc-lib/<platform>/<version>/) to GPC's corresponding directory (/usr/lib/gcc-lib/i486-linux/egcs-2.91.66/).
Hope this helps,
oh, it helped me out :) i finally compiled my first linux program ;)
thanks