Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Upgrading CHOST
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 250

PostPosted: Wed Dec 19, 2007 10:31 pm    Post subject: [solved] Upgrading CHOST Reply with quote

I didn't really know where to place this.

I would like to change my CHOST settings. Can this be done completely in portage? Do I need to use the bootstrap script? Do I need to build a separate toolchain with the new host settings in a directory in the front of my path then rebuild system?

I can do the third option, I can probably figure out the second, but if there is a way to do it with the first option I would need guidance.
_________________
Steve - The guy who doesn't really have anything fancy to link in his sig.


Last edited by SLBMEH on Tue Jan 08, 2008 10:41 am; edited 1 time in total
Back to top
View user's profile Send private message
didymos
Veteran
Veteran


Joined: 09 Oct 2005
Posts: 4798
Location: California

PostPosted: Wed Dec 19, 2007 11:01 pm    Post subject: Reply with quote

Gentoo Linux Documentation -- Changing the CHOST variable
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 250

PostPosted: Thu Dec 20, 2007 12:41 am    Post subject: Reply with quote

Does that require multislot, or can it be done without it?

How well does it work with hardened? Or does hardened not support anything above i386?
_________________
Steve - The guy who doesn't really have anything fancy to link in his sig.
Back to top
View user's profile Send private message
djinnZ
Veteran
Veteran


Joined: 02 Nov 2006
Posts: 3493
Location: not so far from an evil, world famous, two thousandth years sleeping from last big disaster, volcano

PostPosted: Thu Dec 20, 2007 6:33 am    Post subject: Reply with quote

in the official documentation is reported that gentoo do not support the i386 chost but exist for hardened the stage3-x86 (who is compiled with chost i486) and the stage3-i686.
I have an old pc with an i586 processor and have upgraded the chost from the x86-hardened (I use only hardened gentoo) stage without problems, simply the linked guide is outdated and you must substitute the "i386 "with "i486".
By example the fix_libtool_files must be called as
Code:
fix_libtool_files.sh 4.1.1 --oldarch i486-pc-linux-gnu
and the 4.1.1 will match exacly your installed gcc version.
_________________
verba et risus abundat in orae stultorum sed etiam semper severi insani sunt :wink:
mala tempora currunt... mater stultorum semper pregna est :twisted:
Murpy'sLaw: If anything can go wrong, it will - O'Toole's Corollary: Murphy was an optimist
Back to top
View user's profile Send private message
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 250

PostPosted: Thu Dec 20, 2007 10:19 pm    Post subject: Reply with quote

So... I added
Code:
<sys-libs/glibc-2.4-r4
to /etc/portage/package.mask and it still wants to install glibc-2.6

Am I missing something, can someone tell me what I'm doing wrong?
_________________
Steve - The guy who doesn't really have anything fancy to link in his sig.
Back to top
View user's profile Send private message
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 250

PostPosted: Thu Dec 20, 2007 10:32 pm    Post subject: Reply with quote

I did it backwards... that's why...
_________________
Steve - The guy who doesn't really have anything fancy to link in his sig.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT - 5 Hours
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