Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC profiles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
azmodai
n00b
n00b


Joined: 07 Jul 2006
Posts: 63

PostPosted: Sat Dec 30, 2006 1:16 pm    Post subject: GCC profiles Reply with quote

Hi,

I would like to get several gcc profiles : one x86_64 and one x86 but I don't know how I have to proceed on gentoo ....
Do I have to install another gcc through portage, recompile it with some special USE flags or ... something else ?
I need it to cross-compile a program, in fact.

Thanks,
Back to top
View user's profile Send private message
mose
Guru
Guru


Joined: 04 Jun 2005
Posts: 313
Location: Piacenza

PostPosted: Sat Dec 30, 2006 1:57 pm    Post subject: Reply with quote

I think you should install the version of gcc for the cross-compilation through portage, but mantain only the gcc profile right for your architecture.
When you'll have on your system two gcc compiler I think you'll be able to choose between them to perform cross compilation.
But maybe the distcc option with cross compilation suites your need... take a look at this page
http://www.gentoo.org/doc/en/cross-compiling-distcc.xml
Back to top
View user's profile Send private message
azmodai
n00b
n00b


Joined: 07 Jul 2006
Posts: 63

PostPosted: Sat Dec 30, 2006 5:35 pm    Post subject: Reply with quote

Ok, thank you ;)
I'm going to read it
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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