Thanks again.
Please see below ...
Joe.
-----Original Message----- From: Prof. A Olowofoyeku (The African Chief) [SMTP:african_chief@bigfoot.com] Sent: Thursday, April 11, 2002 8:27 PM To: da Silva, Joe Subject: RE: gpc ebuild for gentoo linux
On 11 Apr 2002 at 19:38, da Silva, Joe wrote:
Thanks, Chief.
Mandrake normally has GCC 2.96 (well, my copy at least),
Yes, it does. But v8.1 only comes with gcc-3.0.x, but that is not the default compiler that the system uses.
which from previous discussions is a "broken" version.
I don't think it is broken in respect of what it can do (it can build the linux kernel, and anything else). But the sources are probably not compatible with building GPC on them.
So my plan to eventually install a GCC 2.95.3 and a similar build of GPC might be problematic?
Not at all. I have done that. It is quite straightforward. However, you will need to install GPC with "make install", rather than "make pascal.install". That way, gcc-2.95.3 will also be installed along with GPC. Just make sure that you don't overwrite the existing gcc installation. I normally configure with "--prefix=/usr/local", so
[Joe da Silva]
Is there any particular reason I should not overwrite an existing GCC installation? I had intended to use "make install" and standardize on 2.95.3 for both GCC and GPC (I'd rather not have two versions of GCC installed, unless I have to).
that the new installation goes to a different place from the system compiler, and when I want to run GPC, I first do: "export PATH=/usr/local/bin:$PATH This means that the GPC path will be found first, and if GPC needs to use the C compiler for something (e.g., building the crt unit), it will use the new gcc-2.95.3 instead of the system gcc compiler).
Hmmm ... looks like I will have to become a lot more familiar with this Linux stuff, before I try this. :-/
There is nothing to fear. It is all quite straightforward. It is as simple as: configure --prefix=/usr/local make make install export PATH=/usr/local/bin:$PATH
Best regards, The Chief
Prof. Abimbola Olowofoyeku (The African Chief) Email: African_Chief@bigfoot.com http://www.bigfoot.com/~african_chief/