Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problemas com o profile do gcc
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
chambas
n00b
n00b


Joined: 04 May 2003
Posts: 4

PostPosted: Fri May 23, 2003 1:32 pm    Post subject: Problemas com o profile do gcc Reply with quote

Ao tentar compilar o avifile tinha sempre o seguinte erro: Could not run/locate "i686-pc-linux-gnu-g++". Tentei fazer gcc-config i686-pc-linux-gnu-3.2.2 mas dava-me o erro que não existia o profile. Neste momento esta a compilar pois alterei a flag CHOST para i586. Será que alguem sabe com arranjar isto?
Back to top
View user's profile Send private message
MetalGod
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 816
Location: Portugal

PostPosted: Tue Jun 17, 2003 2:51 am    Post subject: re: Reply with quote

Pq n usas
Code:

CHOST="i686-pc-linux-gnu

?
muda isso no
Code:
 /etc/make.conf

está a explicar como se altera o CHOST :wink:
_________________
ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice
Back to top
View user's profile Send private message
chambas
n00b
n00b


Joined: 04 May 2003
Posts: 4

PostPosted: Tue Jun 17, 2003 4:40 pm    Post subject: Reply with quote

Quote:

Pq n usas
Code:
CHOST="i686-pc-linux-gnu
?

pois o meu problema foi esse mesmo!! :D
É que tenho essa opcao no make.conf mas eu comecei a partir do stage 3 para i586... portanto o gcc so tem como profile i586-pc-linux-gnu. E o que se passa é que quando tentava compilar o k3b nao dava. Por isso tive de recorrer ao artificio de trocar para i586.
Back to top
View user's profile Send private message
humpback
Retired Dev
Retired Dev


Joined: 19 Oct 2002
Posts: 394
Location: Coimbra - Portugal

PostPosted: Tue Jun 17, 2003 6:31 pm    Post subject: Reply with quote

Pois mas assim perdes performançe...
Convem voltares a mudar o make.conf e recompilares o gcc.
_________________
Gustavo Felisberto
Humpback @ #gentoo-pt
------------
It's most certainly GNU/Linux, not Linux. Read more at
http://www.gnu.org/gnu/why-gnu-linux.html .
-------------
Back to top
View user's profile Send private message
chambas
n00b
n00b


Joined: 04 May 2003
Posts: 4

PostPosted: Tue Jun 17, 2003 7:24 pm    Post subject: Reply with quote

Eu depois voltei a mudar o meu make.conf, mas a minha questao é preciso de compilar o gcc ou tenho de compilar tb a glic e mais coisas???
Back to top
View user's profile Send private message
MetalGod
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 816
Location: Portugal

PostPosted: Tue Jun 17, 2003 8:07 pm    Post subject: re Reply with quote

Sim pois eles sao compilados consoante essa flag CHOST aconselho a recompilares o sistema todo... por exemplo o perl,gcc e bash dependem muito do CHOST e se recompilares o sistema todo com
Code:
 emerge -e world

Vais ganhar em performance...como é evidente...aconselho tambem a consultares
http://gentoo.slinky.surrey.sfu.ca/cflagcollect/

:wink:
_________________
ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice
Back to top
View user's profile Send private message
chambas
n00b
n00b


Joined: 04 May 2003
Posts: 4

PostPosted: Tue Jun 17, 2003 8:14 pm    Post subject: Reply with quote

Quote:
emerge -e world

Mas isso nao me compila tudo??Tipo X, kde,...?
É que em principio isso já foi compilado optimizado para o i686 que era a flag que estava na altura.
Back to top
View user's profile Send private message
spirinaites
n00b
n00b


Joined: 26 May 2002
Posts: 15
Location: Lisboa - Portugal

PostPosted: Tue Jun 17, 2003 11:50 pm    Post subject: Reply with quote

Experimenta fazer emerge -e system.
Sempre reduz o numero de pacotes a recompilar e tem o essencial do sistema.
Back to top
View user's profile Send private message
MetalGod
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 816
Location: Portugal

PostPosted: Wed Jun 18, 2003 12:52 am    Post subject: RE Reply with quote

Pois um
Code:

emerge -e world

vai recompilar TUDO agora faz como quiseres... :)
_________________
ex: Gentoo Linux Developer: amd64 media-optical sound gnome
ex: Portuguese Moderator
------------------------------------------------------------------------------
God Doesn't Play Dice
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese 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