[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] RHEL4/Athlon (32-bit)
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] RHEL4/Athlon (32-bit) |
Date: |
17 Jan 2006 08:28:07 +0000 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Michael Lambert <address@hidden> writes:
> Hi Gaius,
>
> I think I see what's going on. xgm2 is calling gcc, but the gcc it finds is
> from version 3.4.4. It tries to call the correct chain:
>
> gcc driver version 3.4.4 20050721 (Red Hat 3.4.4-2) executing gcc version
> 3.3.6
>
> but there is an inconsistency between the versions. If xgm2 were to call xgcc
> instead, I think things would be okay. I'm not sure how difficult that would
> be--my first guess is that it would require building xgm2 first to call xgcc
> for
> building/testing, then to rebuild it to call gcc upon installation. Building
> and installing only the C compiler from 3.3.6 first in order to build gm2 is
> probably not suitable for the ordinary sysadmin.
true..
>
> Michael
Hi Michael,
it may be possible to introduce another -Wprefix=x option (or suitable
name) which is passed to all gm2 subcomponents (gm2lcc in particular).
This is then prefixed onto the compiler name and coupled with the
standard -B option should mean that xgm2 will pick up xgcc..
regards,
Gaius