Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc 3.4.2 in portage
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
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Mon Sep 13, 2004 1:09 am    Post subject: gcc 3.4.2 in portage Reply with quote

il mio portage vuole emergere il gcc in oggetto, devo fare qualcosa di aggiuntivo per utilizzarlo poi ?

* sys-devel/gcc
Latest version available: 3.4.2-r1
Latest version installed: 3.3.4-r1
Size of downloaded files: 27,332 kB
Homepage: http://www.gnu.org/software/gcc/gcc.html
Description: The GNU Compiler Collection. Includes C/C++, java compilers, pie and ssp extensions
License: GPL-2 LGPL-2.1
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Mon Sep 13, 2004 8:14 am    Post subject: Reply with quote

mi pare ci sia tipo gcc-config danto l'opzione -l dovresti vedere quali hai installati e con gcc-config NUMERO scegliere la versione da user :) nn sono sicuro però.
PS io rimango fedele al 3.3.3 anche perchè nn mi va di ricompilare tutto.
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
Sparker
l33t
l33t


Joined: 28 Aug 2003
Posts: 992

PostPosted: Mon Sep 13, 2004 8:29 am    Post subject: Reply with quote

Occhio che NON dovrebbe cercare di emergerlo poichè è ~ per qualsiasi architettura
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Mon Sep 13, 2004 8:42 am    Post subject: Reply with quote

probabilmente lui usa ~x86.
_________________
...
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Mon Sep 13, 2004 9:44 am    Post subject: Reply with quote

motaboy wrote:
probabilmente lui usa ~x86.

Precisamente...
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Mon Sep 13, 2004 9:45 am    Post subject: Reply with quote

koma wrote:
mi pare ci sia tipo gcc-config danto l'opzione -l dovresti vedere quali hai installati e con gcc-config NUMERO scegliere la versione da user :) nn sono sicuro però.
PS io rimango fedele al 3.3.3 anche perchè nn mi va di ricompilare tutto.

Non voglio ricompilare tutto ma pensavo di poter compilare d'ora in avanti con quello nuovo e prima o poi a forza di aggiornamenti tutto sara' compilato c ol 3.4 ... (come ho fatto del resto passando dal gcc 2.95 al 3.x)
Si puo' settere in modo statico di usare il gcc nuovo?
Fede
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Mon Sep 13, 2004 9:47 am    Post subject: Reply with quote

appunto, usa gcc-config come ti ha detto koma. In questo modo d'ora in avanti tutto sará compilato col nuovo gcc.
_________________
...
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Mon Sep 13, 2004 9:59 am    Post subject: Reply with quote

Code:

altair ~ # gcc-config -l
[1] i686-pc-linux-gnu-3.3.4
[2] i686-pc-linux-gnu-3.4.2
altair ~ # gcc-config 2
 * Switching to i686-pc-linux-gnu-3.4.2 compiler...                                                   [ ok ]altair ~ #


Perfetto! Di fatti si tratta di un aggiornamento su una minor version, non dovrebbero esserci problemi di sorta...
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Mon Sep 13, 2004 10:04 am    Post subject: Reply with quote

per sicurezza se non vuoi rifare il login dai
Code:

source /etc/profile

e poi controlla con
Code:

gcc -v

_________________
...
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Mon Sep 13, 2004 10:07 am    Post subject: Reply with quote

personalmente ritengo che (~x86= non usare perche instabile) sia un po datato come modo di ragionare, tanto e' vero che questa versione di gcc fissa molti bug di gcc 3.4.1, in primis le ottimizzazioni per pentium4, che ricordo, sono in molti casi BACATE (tanto e' vero che ho dovuto compilare delle cose con -O1, ad es. xine-lib) e sopratutto permette a openoffice di compilare con la serie 3.4.

ps. dopo aver dato gcc-config X, ricorda se usi la stessa shell, di fare
Code:
source /etc/profile
per riprendere i path giusti.
ciao
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Mon Sep 13, 2004 10:30 am    Post subject: Reply with quote

E' una maniera logica di ragionare, mi fido della stabilita' dei miei pacchetti instabili e sono disposto a smadonnare mezz'oretta quando qualcosa va a farsi benedire.

Utilizzare invece la versione stabile inserendo pacchetti da quella instabile al bisogno non l'ho mai capita invece... Come fai a sapere se un pacchetto dalla versione ~x86 ti puo' servire?

Io taglio la testa al toro, utilizzo quanto di + moderno arriva da gentoo :)
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Sep 13, 2004 11:30 am    Post subject: Reply with quote

federico wrote:

Utilizzare invece la versione stabile inserendo pacchetti da quella instabile al bisogno non l'ho mai capita invece... Come fai a sapere se un pacchetto dalla versione ~x86 ti puo' servire?


bhe perche' a volte sai che esiste una feature solo su ebuild ~x86 o addirittura su quelli unmasked.

Mi sta bene il sistema stabile e per quelle poche volte che mi serve un pacchetto ~ o - uso package.[unmask|keywords] :)

Anche perche' la gentoo stable non e' come una woody con i pkt antiquati :)

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Mon Sep 13, 2004 11:58 am    Post subject: Reply with quote

xchris wrote:

Mi sta bene il sistema stabile e per quelle poche volte che mi serve un pacchetto ~ o - uso package.[unmask|keywords] :)


Si ecco ma come fai a sapere se ti serve? Come puoi sapere che il pacchetto ~x86 potrebbe avere qualcosa che ti serve? Per questo che uso la ~x86..

Cmq si, se vogliamo dare una bella frecciata alla debby la versione considerata stabile da loro e' un anticaglia buona per i nostalgici...
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Mon Sep 13, 2004 12:08 pm    Post subject: Reply with quote

La debian stable ha una filosofia completamente differente da quella della gentoo. quando esce la stable i pacchetti NON vengono piú aggiornati, ma vengono sollo effettuate update di sicurezza.
Nella gentoo la stable continua a crescere e i pacchetti diventano stable quando i bug principiali vengono chiusi e tiene conto sia del programma in se che della qualitá dell'ebuild.
_________________
...
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Sep 13, 2004 12:11 pm    Post subject: Reply with quote

federico wrote:

Si ecco ma come fai a sapere se ti serve? Come puoi sapere che il pacchetto ~x86 potrebbe avere qualcosa che ti serve? Per questo che uso la ~x86..


perche' per specifiche applicazioni che uso di frequente controllo magari il sito e le nuove feature ancora beta.
Controllo che esista l'ebuild per la versione in questione e me la smaschero.

Per me ad esempio avere tutte le nuove feature di kde3,3 (che ora e' stable) non serviva (anche se merita).
Quindi la 3.2.3 faceva ancora il suo lavoro.
Pero' tempo fa volevo provare a tutti i costi skype che era -x86 e allora sono andato avanti nello smascheramento.


Che la unstable non sia cosi' unstable siamo d'accordo...pero' la stable e' sicuramente + stabile :)

Gcc 3.4 un po' di problemi li ha dati e li da ancora.Preferisco stare sulla 3.3 fino a quando tutto non si e' risolto.(o quasi)

Preferisco impiegare il tempo in altro modo che smadonnare dietro al nuovo pkt con la feature X che magari non usero' mai.(anche perche' spesso (non sempre) non c'e' un grosso (come debian) delta temporale tra la unstable e la stable)

Cmq tutto e' relativo.Dipende dalle priorita' e dagli interessi.
ciau
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Sep 13, 2004 12:13 pm    Post subject: Reply with quote

motaboy wrote:
La debian stable ha una filosofia completamente differente da quella della gento............


si in effetti...
non sarebbe male anche una gentoo matusalemme.x86.
con un ottimo supporto di security come la woody.
ma qui si chiede troppo :)

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
MonsterMord
Guru
Guru


Joined: 28 Apr 2004
Posts: 395
Location: Italy --> Forli'

PostPosted: Mon Sep 13, 2004 12:35 pm    Post subject: Reply with quote

Quote:
Si ecco ma come fai a sapere se ti serve? Come puoi sapere che il pacchetto ~x86 potrebbe avere qualcosa che ti serve? Per questo che uso la ~x86..


La versione "~x86" non ha nulla che mi possa servire se non ne avverto la concreta necessità.
Diversamente se la versione x86 ha problemi o voglio feature in più la aggiungo a /etc/portage/package.keywords

Ad esempio, io uso gcc version 3.3.4 con un P4M e non ho alcuna esigenza di forzare un gcc 3.4.2. Quando sarà pronto[1] lo metterò su volentieri ma ora non mi serve a nulla (sottolineo il "mi", a me, IMHO).

[1]: tempi di settimane, non anni come in debian stable.
_________________
Gentoo GNU/Linux on DELL Inspiron 8500
Back to top
View user's profile Send private message
popposoft
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2003
Posts: 92
Location: Bologna - Italy

PostPosted: Mon Sep 13, 2004 1:46 pm    Post subject: Reply with quote

io infatti ho avuto problemi con gcc-3.4.2-r1

mi ha sputtanato i profili di gcc-config e non c'era verso di farlo andare

sono tornato a gcc 3.4.1-r2 che almeno non ha quel problema
_________________
Poppo

Studente in informatica
Website editor http://www.popposoft.it
[edit] Powerbook 17" based from 21/10/2004 [/edit]
Back to top
View user's profile Send private message
FonderiaDigitale
Veteran
Veteran


Joined: 06 Nov 2003
Posts: 1710
Location: Rome, Italy

PostPosted: Mon Sep 13, 2004 8:52 pm    Post subject: Reply with quote

popposoft wrote:
io infatti ho avuto problemi con gcc-3.4.2-r1

mi ha sputtanato i profili di gcc-config e non c'era verso di farlo andare

sono tornato a gcc 3.4.1-r2 che almeno non ha quel problema


qui problemi 0
_________________
Come disse un amico, i sistemisti sono un po' come gli artigiani per l'informatica :)
Back to top
View user's profile Send private message
ballero
n00b
n00b


Joined: 10 Jul 2004
Posts: 62

PostPosted: Mon Sep 13, 2004 9:12 pm    Post subject: Reply with quote

FonderiaDigitale wrote:
popposoft wrote:
io infatti ho avuto problemi con gcc-3.4.2-r1

mi ha sputtanato i profili di gcc-config e non c'era verso di farlo andare

sono tornato a gcc 3.4.1-r2 che almeno non ha quel problema


qui problemi 0


Sto compilando col gcc-3.4.2-r1 in questo momento e ho delle difficolta' (qt - kdelibs -etc). Che flag usi?
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Mon Sep 13, 2004 9:17 pm    Post subject: Reply with quote

Quali sarabbero le "difficoltá"? (posta errori)
_________________
...
Back to top
View user's profile Send private message
ballero
n00b
n00b


Joined: 10 Jul 2004
Posts: 62

PostPosted: Mon Sep 13, 2004 11:31 pm    Post subject: Reply with quote

Come non detto, era un problema hardware legato all'hyperthreading.
Una volta disabilitato, le difficolta' sono scomparse.
Back to top
View user's profile Send private message
Gavrila
Apprentice
Apprentice


Joined: 08 Jun 2003
Posts: 275

PostPosted: Tue Sep 14, 2004 8:12 am    Post subject: Reply with quote

Cmq l'aggiornamento del compilatore in uso con gcc-config viene effettuato automaticamente dalla ebuild :)

Saludos!
Back to top
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Tue Sep 14, 2004 9:12 am    Post subject: Reply with quote

federico wrote:
Non voglio ricompilare tutto ma pensavo di poter compilare d'ora in avanti con quello nuovo e prima o poi a forza di aggiornamenti tutto sara' compilato c ol 3.4 ... (come ho fatto del resto passando dal gcc 2.95 al 3.x)

Non so se la cosa sia così "liscia"... Da quello che so nel gcc 3.4 hanno di nuovo cambiato la ABI del C++, sicchè teoricamente i programmi C++ compilati con <=gcc-3.3 sono incompatibili con >=gcc-3.4. Per risolvere il problema occorre installare le libstdc++-v3, che infatti ora sono richieste come dipendenza per gcc-3.4.2.

Tanto per non fare il pignolo :wink:
_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Tue Sep 14, 2004 10:55 am    Post subject: Reply with quote

mi avete convinto..lo provo anche io sul notebook. vi faccio sapere 8)
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