Vs: building GPC compiler + FAQ

Khimenko Victor gpc at khim.sch57.msk.ru
Fri Apr 7 08:38:59 CEST 2000


6-Apr-00 22:25 you wrote:
> The new FAQ is hard to find, only through mailing archive. Should it not be at the ftp site? and on the GPC homepage?

> regarding building a GPC compiler, on a redhat 6.0, I followed the instructions from the new FAQ:

> I have installed a gcc-2.95.2.i686.rpm which is working

Are you sure ?

> using gcc-2.95.2.tar.gz and gpc-19991030.tar.gz

> unpacked them in /usr/local/src
> moved /p to /gcc

> applied the patch
> and when I come to configure it does not work and I get this:

> I use this command :
> ../gcc-2.95.2/configure --enable-languages=pascal "i686"

> it returns this:

> Created "Makefile" in /usr/local/src/gcc-build

> /usr/bin/ld: cannot open crt1.o: No such file or directory

> collect2: ld returned 1 exit status

> *** The command 'gcc -o conftest -g -O2 conftest.c' failded.

> *** You must set the enviroment variable CC to a working compiler.

> What is wrong?

You need SOME "C" comiler to bootstrap GPC. Looks like you do not have one.
gcc can not work in void - it need glibc-devel, binutils, etc. Are you sure
you can compile two line program
-- test.c --
main() {
}
-- cut --
yourself ?




More information about the Gpc mailing list