Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
updated gentoo1.2 with gcc3.1.1 missing g++
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bindo
n00b
n00b


Joined: 17 Jul 2002
Posts: 4

PostPosted: Wed Jul 17, 2002 9:47 pm    Post subject: updated gentoo1.2 with gcc3.1.1 missing g++ Reply with quote

Well not really missing.
Emerge thinks its missing . :)

I added a CC="gcc-3.1" line in make.conf and linked make.profile to default-1.0-gcc3

Plain C compiling is fine but C++ isn't working configure reports that the C++ compiler can not compile a simple program.

something simple I am missing ?

thanks Bindo
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Jul 17, 2002 9:48 pm    Post subject: Reply with quote

CXX="g++-3.1"
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
bindo
n00b
n00b


Joined: 17 Jul 2002
Posts: 4

PostPosted: Wed Jul 17, 2002 9:56 pm    Post subject: it was simple. Reply with quote

well I tried C++ and CPP and neither worked ;)

anything else simple I might have forgotten that will bite in the middle of emerge -e world ?
(I would prefer not to start over again tomorrow morning :)

thanks
bindo
Back to top
View user's profile Send private message
bindo
n00b
n00b


Joined: 17 Jul 2002
Posts: 4

PostPosted: Thu Jul 18, 2002 2:02 am    Post subject: Portage bug ? Reply with quote

Ok so I finally got the compile enironment correct and launched emerge -e world.

I get a "bad parameter arch=athlon-xp" when it gets to compile man-1.5i-r2
I despair a little then try to compile everything else thinking its a bug of that articular ebuild.
Until I find the same problem compiling another package.

THen I realize that these packages are ignoring the CC setting in make.conf.

So I pruned gcc-2.9

Everything looks good now and I am nearly finished.

Is having to versions of gcc a bad hack or should it work?

bindo
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Jul 18, 2002 3:58 am    Post subject: Re: Portage bug ? Reply with quote

Glad to hear you are making progress.

bindo wrote:
Is having to versions of gcc a bad hack or should it work?

That's a judgement call. Most ebuilds (especially those for software that uses autoconf) will work seamlessly with CC and CXX environment flags. Some won't. Depending on how you look at it, this is either a bug or an unfortunate fact of life or both.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Aug 19, 2002 1:22 am    Post subject: Reply with quote

GCC3 to Portage & Programming.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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