Hi
For now, it would be useful to know what computer, cpu, distribution and it's version no. that you have.
It's a pentium II, 450Mhz pc and the distribution is Mandrake 7.0.
You should have gpc in directory /usr/local/bin
gpc is in /usr/bin
(If you build gpc from the sources make install puts it there along with 9 other files)
I have built gpc from the binaries from http://www.rpmfind.net. I took gpc-19990118-2rh6_i386.rpm from "mandrake cooker" as my linux is Mandrake 7.0.
When you invoke gpc it has it's own search path which you can find with gpc -print-search-dirs
I got a list the following list:: install: /usr/lib/gcc-lib/i386-redhat-linux/egcs.2.91.66/ programs: /usr/lib/gcc-lib/i386-redhat-linux/egcs.2.91.66/ :/usr/lib/gcc-lib/i386-redhat-linux :/usr/lib/gcc/i386-redhat-linux/egcs.2.91.66/ :/usr/lib/gcc/i386-redhat-linux :/usr/i386-redhat-linux/bin/i386-redhat-linux/egcs.2.91.66/ :/usr/i386-redhat-linux/bin/ libraries: /usr/lib/gcc-lib/i386-redhat-linux/egcs.2.91.66/ :/usr/lib/gcc/i386-redhat-linux/egcs.2.91.66/ :/usr/i386-redhat-linux/lib/i386-redhat-linux/egcs.2.91.66/ :/usr/i386-redhat-linux/lib/ :/usr/lib/i386-redhat-linux/egcs.2.91.66/ :/usr/lib/ :/lib/i386-redhat-linux/egcs.2.91.66/ :/lib/ :/usr/lib/i386-redhat-linux/egcs.2.91.66/ :/usr/lib/
In one of the "libraries" directory you should have this group of files:
SYSCALLS.c.X cpp* crtend.o gpc1* libgpc.a cc1* crtbegin.o crtendS.o include/ specs collect2* crtbeginS.o gpc-cpp* libgcc.a units/
I can't find all these files in one directory. In /usr/lib/gcc-lib/i386-redhat-linux/egcs.2.91.66/, I have: crtbegin.o crtend.o gpc-cpp* libgcc.a specs crtbeginS.o crtendS.o gpc1* libgpc.a units/
I have looked for the other files and I find them in : /usr/lib/gcc-lib/i586-mandrake-linux/2.95.2 but I don't have gpc1*, libgpc.a, gcc-cpp* and /units here?...
And moreover, I can't find these directories!... : :/usr/lib/gcc/i386-redhat-linux/egcs.2.91.66/ , /usr/i386-redhat-linux/lib/i386-redhat-linux/egcs.2.91.66/, /usr/i386-redhat-linux/lib/ or /usr/lib/i386-redhat-linux/egcs.2.91.66/ !!!
I start to understand that gpc doesn't have all the informations it needs... How can I do to organize better all this?
Do I have to clean all I have installed and start again with maybe a better choice for the binary or by building gpc from the source?
Thanks again a lot in advance
Nathalie