Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How use gcc 3.4.1-r2 by profile change
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Air-Op
n00b
n00b


Joined: 02 Apr 2003
Posts: 52

PostPosted: Tue Aug 10, 2004 6:30 am    Post subject: How use gcc 3.4.1-r2 by profile change Reply with quote

look at your current profile...
Code:

aaron@escargot /etc $ ls -lah make.profile
lrwxrwxrwx  1 root root 39 Mar 29  2003 make.profile -> ../usr/portage/profiles/
default-x86-1.4


find the one you want...
Code:

/usr/portage/profiles/gcc34-x86-2004.2


nuke the old one
Code:

rm /etc/make.profile


make it point to the new one...
Code:

ln -s /usr/portage/profiles/gcc34-x86-2004.2 /etc/make.profile


now, emerge world -uDp and see ... THE RABBID BUNNIES FROM A HOT PLACE eat your liver...

and... if your system is old... have fun with something like:

Code:

emerge world -e ; emerge --resume --skipfirst  ; emerge --resume --skipfirst  ; emerge --resume --skipfirst  ; emerge --resume ; emerge --resume --skipfirst  --skipfirst  ; emerge --resume --skipf ; emerge --resume --skipfirst 
(ignore them pesky java downloads)
Back to top
View user's profile Send private message
Cerement
Guru
Guru


Joined: 14 Jun 2003
Posts: 404

PostPosted: Tue Aug 10, 2004 6:36 am    Post subject: Reply with quote

okay, what's the difference between:
/usr/portage/profiles/gcc34-x86-2004.2/
and
/usr/portage/profiles/default-linux/x86/2004.2/gcc34/
?
Back to top
View user's profile Send private message
Air-Op
n00b
n00b


Joined: 02 Apr 2003
Posts: 52

PostPosted: Tue Aug 10, 2004 7:04 pm    Post subject: Reply with quote

Quote:

Cerement wrote:
okay, what's the difference between:
/usr/portage/profiles/gcc34-x86-2004.2/
and
/usr/portage/profiles/default-linux/x86/2004.2/gcc34/
?



I have no idea. I just bawled on irc.freenode.net #gentoo untill a nice person told me how to do it.

I suppose we could do a diff...

Code:
diff -r  /usr/portage/profiles/gcc34-x86-2004.2/ /usr/portage/profiles/default-linux/x86/2004.2/gcc34/

yields: nothing... my diff is broken! (even if it's broken by design!) it didn't output anything, and diff --help only told me about the -r..

Code:
aaron@escargot ~ $ ls -lahd /usr/portage/profiles/gcc34-x86-2004.2/ /usr/portage/profiles/default-linux/x86/2004.2/gcc34/
drwxr-xr-x  2 root root 4.0K Jul 30 18:39 /usr/portage/profiles/default-linux/x86/2004.2/gcc34/
drwxr-xr-x  2 root root 4.0K Jul 30 18:39 /usr/portage/profiles/gcc34-x86-2004.2/
aaron@escargot ~ $
is equally useless... it should have told me if they are symlinks... but it might not.. because there is no consistant rule, other than "it depends".. .and I tried it without the trailing / and got the same results...
[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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