Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
powerpc-unknown-linux-gnu question...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
MiniMoose
n00b
n00b


Joined: 22 Sep 2004
Posts: 33
Location: Seattle, WA

PostPosted: Mon Dec 13, 2004 2:42 am    Post subject: powerpc-unknown-linux-gnu question... Reply with quote

Does anybody know how to change the system profile from powerpc-unknown-linux-gnu to something a little more accurate like powerpc-apple-linux-gnu or powerpc-genesi-linux-gnu? I'm pretty sure the second field in the system profile string is the hardware manufacturer.

How will changing the profile affect my system overall? emerge?
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Mon Dec 13, 2004 4:42 am    Post subject: Re: powerpc-unknown-linux-gnu question... Reply with quote

MiniMoose wrote:
How will changing the profile affect my system overall? emerge?

Pretty badly. Many applications have no idea how to build under a powerpc-apple-linux-gnu system or who knows what else, so you'll break your system pretty badly. It is like the early days of PPC64 (in which a number of applications will not know how to build under ppc64-unknown-linux-gnu), only worse.

By the way, I believe that the second component of the profile is the distribution, not the hardware manufacturer.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
toojays
Apprentice
Apprentice


Joined: 21 Jul 2002
Posts: 150
Location: Adelaide, Australia

PostPosted: Mon Dec 13, 2004 6:06 am    Post subject: Reply with quote

Actually, I doubt anything would break . . . hardly anythying uses that field at all. The "unknown" is just going to fall through to the default case in every configure script, and "apple" would be just as effective.
Back to top
View user's profile Send private message
MiniMoose
n00b
n00b


Joined: 22 Sep 2004
Posts: 33
Location: Seattle, WA

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

so if the second field is the distribution, then the configuration string should be: powerpc-gentoo-linux-gnu.

I was confused because I've seen all of the config strings like the following:
powerpc-apple-darwin1.2
powerpc-ibm-aix4.1.5.0
mips4-sgi-irix6.5

I assumed that it was the hardware manufacturer, but now I see how the distribution would make sense.
Back to top
View user's profile Send private message
toojays
Apprentice
Apprentice


Joined: 21 Jul 2002
Posts: 150
Location: Adelaide, Australia

PostPosted: Tue Dec 14, 2004 11:21 am    Post subject: Reply with quote

Well I actually think it's the "vendor", which could be software or hardware, but the idea with the Apple, SGI, IBM ones is that the software and hardware all come from the same people, so there's no confusion.

But still the bottom line is that it's pointless to put anything there. "unknown" avoids the argument entirely. :)
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Wed Dec 15, 2004 8:40 am    Post subject: Reply with quote

Mine has read "powerpc-gentoo-linux-gnu" since I did a stage 3 install about half a year ago, and no problems here.
Back to top
View user's profile Send private message
MiniMoose
n00b
n00b


Joined: 22 Sep 2004
Posts: 33
Location: Seattle, WA

PostPosted: Wed Dec 15, 2004 4:25 pm    Post subject: Reply with quote

where is the file that you have to change to make that happen?
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Wed Dec 15, 2004 8:53 pm    Post subject: Reply with quote

/etc/make.conf
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Mon Dec 20, 2004 10:18 pm    Post subject: Reply with quote

BTW, it might be advisabele to run gcc-config after changing this as it is not a benign flag. Look in /usr and /usr/lib.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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