Hi everybody,
What about using gpc under RH7.0 . As I've read gpc is working with gcc 2.95, but under RH7.0 I have gcc 2.96. Now what to do ? I've tried to compile gcc 2.95+gpc but it failed so I don't know what to do.
Any suggestion is welcomed!
TIA, Marius
Hi
On Sat, 18 Nov 2000, Marius Onica wrote:
Hi everybody,
What about using gpc under RH7.0 . As I've read gpc is working with gcc 2.95, but under RH7.0 I have gcc 2.96. Now what to do ? I've tried to compile gcc 2.95+gpc but it failed so I don't know what to do.
You didn't say where it failed. Building gpc is actually a by-product of building gcc. You need gcc-2.95.2 *source*. Your present c compiler is used only to get things started. As soon as the build has made a new working c compiler it takes over and finishes the job.
good luck Russ
What about using gpc under RH7.0 . As I've read gpc is working with gcc 2.95, but under RH7.0 I have gcc 2.96. Now what to do ? I've tried to compile gcc 2.95+gpc but it failed so I don't know what to do.
You didn't say where it failed. Building gpc is actually a by-product of building gcc. You need gcc-2.95.2 *source*. Your present c compiler is used only to get things started. As soon as the build has made a new working c compiler it takes over and finishes the job.
RH 7.0 also packages another gcc compiler, used to build the kernel packages. (2.95.x or so), and it is renamed as kgcc.
I removed in my copy the 2.96 gcc, installed the kernel compiler, and symlinked ls -s kgcc gcc in /usr/bin
On Sun, 19 Nov 2000, Marco van de Voort wrote: ...
RH 7.0 also packages another gcc compiler, used to build the kernel packages. (2.95.x or so), and it is renamed as kgcc.
I removed in my copy the 2.96 gcc, installed the kernel compiler, and symlinked ls -s kgcc gcc in /usr/bin
well, no harm done but you still need the gcc source: gcc-2.95.2.tar.gz It's just under 13M, so visit gcc.gnu.org and find their list of mirror sites to download it from.
Put it in /usr/local/src/ along with the gpc source and untar them: tar -vxzf *.gz
Now you're ready to build gpc. You will find directions in gpc*/p/
good luck Russ
RH 7.0 also packages another gcc compiler, used to build the kernel packages. (2.95.x or so), and it is renamed as kgcc.
I removed in my copy the 2.96 gcc, installed the kernel compiler, and symlinked ls -s kgcc gcc in /usr/bin
well, no harm done but you still need the gcc source: gcc-2.95.2.tar.gz It's just under 13M, so visit gcc.gnu.org and find their list of mirror sites to download it from.
I know, I tried to build gpc on FreeBSD once. (and might try again next week btw, on 4.2) :-)
But I meant more for the case if 2.96 turns out not to be able to build the compiler, that you can use the kgcc binary to start.
Marco van de Voort (MarcoV@Stack.nl or marco@freepascal.org)