View previous topic :: View next topic |
Author |
Message |
Perpetua Dragon n00b
Joined: 28 Jun 2002 Posts: 1
|
Posted: Fri Jun 28, 2002 1:50 pm Post subject: GCC 3.1 *only* for development. |
|
|
I'm wondering if I can use GCC3.1 on gentoo 1.2, but only for my own development.
I'd be more than satisifed if GCC 2.* were still used for building the system, I just need 3.1 for some new app that I'm working with.
Is this a possibility? Can they Live together? What steps should I follow?
Thanks!
PD |
|
Back to top |
|
|
abhishek Retired Dev
Joined: 28 Jun 2002 Posts: 393 Location: Los Angeles, CA
|
Posted: Mon Jul 01, 2002 5:21 pm Post subject: |
|
|
i dont think they can live together. not easily anyway. come to the bleeding edge |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Jul 01, 2002 7:09 pm Post subject: |
|
|
data_the_android wrote: | i dont think they can live together. not easily anyway |
Why not? What problems have you had?
To the original poster:
Make sure you have GCC 2.95 merged. This should be the case except
on unbootstrapped new installs. You can check with qpkg. If there
is no GCC 2.xx package merged, the GCC3 ebuild will install itself as
gcc, the default compiler.
If there is a GCC 2.xx compiler detected, the GCC3 ebuild will attempt
to install itself alongside it as gcc-3.1, g++-3.1, etc. See the ebuild
itself for details.
You should then be able to keep 2.95 as your primary compiler, and
"gcc" will invoke it. You can explicitly call "gcc-3.1" for your special
application, or define the envariable CC=gcc-3.1 when calling make
or other such tactic.
You should even be able to define CC=gcc-3.1 in your make.conf,
and many ebuilds will respect this and build automatically with GCC3.
In general, packages that use autoconf work; those that don't may
require some extra hand-holding. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|