Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Piu versioni di GCC
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
l_tincani
n00b
n00b


Joined: 15 Nov 2004
Posts: 34

PostPosted: Sat Nov 20, 2004 4:58 am    Post subject: Piu versioni di GCC Reply with quote

Non sono ancora riuscito a capire bene come fare ad installare due versioni di gcc contenporaneamente... ormai devo essere cotto. :?

Se ho capito bene devo risettare una variabile e' in make.conf:
Code:
AUTOCLEAN = 'no'

Basta? Ho anche dato un occhiata agli ebuilds e se ho capito bene gli SLOT li decide lo script, non sono io a doverli settare, vero?

Una volta che sono riuscito ad installare i compilatori che mi interessano gcc-3.4 che utilizzo per le mie applicazioni e gcc-3.2. Come faccio a dire a Portage di usare sempre gcc-3.2 per fare il build del sistema: kernel, kde, etc? E di aggiornare la versioni solo di gcc-3.4?

Per quanto riguarda l' installazione di gcc-2.95, pare che l'unica strada sia modificare il profile (commentando *>=gcc-3.2 ) e installand anche la relativa glibc. Altre idee?

Grazie,

L
Back to top
View user's profile Send private message
Sasdo
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: 44.476474,11.644446 circa.

PostPosted: Sat Nov 20, 2004 8:16 am    Post subject: Reply with quote

ciao,

io ho installato 2 gcc differenti senza modificare nulla...

...ho semplicemente dato

Code:

emerge gcc


non so quanti gcc si possano avere installati al massimo, comunque non devi fare altro che emergere il pacchetto che vuoi, poi con gcc-config selezioni il gcc che vuoi usare.

Purtroppo non ho idea di come si possa automatizzare la scelta del gcc come chiedevi...

ciao!
_________________
LinuxUser #362518
--
Ochei lo ammetto: il mio cervello lo tengo in frigo.
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Nov 20, 2004 2:46 pm    Post subject: Reply with quote

@Sasdo: sempre nel caso che le versioni di gcc siano in slot diversi :wink:
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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