Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC steht auf i486!!! Ich brauche i586 Update bricht ab.
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
JoHo42
l33t
l33t


Joined: 14 Feb 2004
Posts: 956
Location: Germany

PostPosted: Wed Apr 25, 2007 6:16 am    Post subject: GCC steht auf i486!!! Ich brauche i586 Update bricht ab. Reply with quote

Hi Leute,

ich habe einen kleine Fehler gemacht bei einer Installation.
Ich habe in der make.conf folgendes stehen:

CFLAGS="-O2 -march=i586 -pipe"
CHOST="i586-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

Allerdings stand bei der Installation alles auf 486.
Jetzt habe ich alle auf 586 stehen.

Problem ist allerdings der GCC dieser steht immer noch auf i486.
gcc-config -l
[1] i486-pc-linux-gnu-4.1.1 *

Ich habe es mit einem Update versucht doch dann bricht der ab,
da im 586 fehlt.
Wie kriege ich den GCC geaendert?

Gruss Joerg
Back to top
View user's profile Send private message
Schorchgrinder
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2006
Posts: 82
Location: Lower Uncton

PostPosted: Wed Apr 25, 2007 8:22 am    Post subject: Reply with quote

http://www.gentoo.de/doc/de/gcc-upgrading.xml

da sollte das drinne stehen wie man das komplette System per emerge nochmal backen darf, ich habs in Detail vergessen.
_________________
AMD Athlon 1000 Mhz, RIVA TNT2/TNT2 Pro, Creative Labs SB Live, 1500 MB Arbeitsspeicher
damit läuft der Rechner unter Gentoo immer noch recht gut

AMD Athlon II X4 600e 2200 Mhz, Nvidia G210, 4GB RAM
Back to top
View user's profile Send private message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3495

PostPosted: Wed Apr 25, 2007 11:07 am    Post subject: Re: GCC steht auf i486!!! Ich brauche i586 Update bricht ab. Reply with quote

JoHo42 wrote:
...
CHOST="i586-pc-linux-gnu"
...
Allerdings stand bei der Installation alles auf 486.
Jetzt habe ich alle auf 586 stehen.
...


Du hast CHOST geändert? Eines der Dinge die man nicht tun sollte. Wenn man dennoch will/muß sollte man sich diese Howto vornehme: http://www.gentoo.org/doc/en/change-chost.xml
Back to top
View user's profile Send private message
doedel
Guru
Guru


Joined: 05 Feb 2006
Posts: 579
Location: Denmark

PostPosted: Wed Apr 25, 2007 3:13 pm    Post subject: Reply with quote

Ich hatte dieses Problem auch. Selbst nach dem durchackern der Gentoo-Howtos war es immer noch so. Ich habe einfach symlinks angelegt.
Code:

lrwxrwxrwx 1 root root   29 Apr 23  2007 /usr/bin/i386-pc-linux-gnu-ar -> /usr/bin/i586-pc-linux-gnu-ar
-rwxr-xr-x 1 root root 8644 Mar 29  2007 /usr/bin/i386-pc-linux-gnu-c++
-rwxr-xr-x 1 root root 8644 Mar 29  2007 /usr/bin/i386-pc-linux-gnu-cpp
-rwxr-xr-x 1 root root 8644 Mar 29  2007 /usr/bin/i386-pc-linux-gnu-g++
-rwxr-xr-x 1 root root 8644 Mar 29  2007 /usr/bin/i386-pc-linux-gnu-g++32
-rwxr-xr-x 1 root root 8644 Mar 29  2007 /usr/bin/i386-pc-linux-gnu-gcc
-rwxr-xr-x 1 root root 8644 Mar 29  2007 /usr/bin/i386-pc-linux-gnu-gcc32
lrwxrwxrwx 1 root root   33 Apr 23  2007 /usr/bin/i386-pc-linux-gnu-ranlib -> /usr/bin/i586-pc-linux-gnu-ranlib
lrwxrwxrwx 1 root root   36 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-addr2line -> /usr/i586-pc-linux-gnu/bin/addr2line
lrwxrwxrwx 1 root root   29 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-ar -> /usr/i586-pc-linux-gnu/bin/ar
lrwxrwxrwx 1 root root   29 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-as -> /usr/i586-pc-linux-gnu/bin/as
-rwxr-xr-x 1 root root 8644 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-c++
lrwxrwxrwx 1 root root   58 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-c++-4.1.1 -> /usr/i586-pc-linux-gnu/gcc-bin/4.1.1/i586-pc-linux-gnu-c++
lrwxrwxrwx 1 root root   34 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-c++filt -> /usr/i586-pc-linux-gnu/bin/c++filt
-rwxr-xr-x 1 root root 8644 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-cpp
lrwxrwxrwx 1 root root   58 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-cpp-4.1.1 -> /usr/i586-pc-linux-gnu/gcc-bin/4.1.1/i586-pc-linux-gnu-cpp
-rwxr-xr-x 1 root root 8644 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-g++
lrwxrwxrwx 1 root root   58 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-g++-4.1.1 -> /usr/i586-pc-linux-gnu/gcc-bin/4.1.1/i586-pc-linux-gnu-g++
-rwxr-xr-x 1 root root 8644 Apr  7  2007 /usr/bin/i586-pc-linux-gnu-g++32
-rwxr-xr-x 1 root root 8644 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-gcc
lrwxrwxrwx 1 root root   58 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-gcc-4.1.1 -> /usr/i586-pc-linux-gnu/gcc-bin/4.1.1/i586-pc-linux-gnu-gcc
-rwxr-xr-x 1 root root 8644 Apr  7  2007 /usr/bin/i586-pc-linux-gnu-gcc32
lrwxrwxrwx 1 root root   63 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-gfortran-4.1.1 -> /usr/i586-pc-linux-gnu/gcc-bin/4.1.1/i586-pc-linux-gnu-gfortran
lrwxrwxrwx 1 root root   32 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-gprof -> /usr/i586-pc-linux-gnu/bin/gprof
lrwxrwxrwx 1 root root   29 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-ld -> /usr/i586-pc-linux-gnu/bin/ld
lrwxrwxrwx 1 root root   29 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-nm -> /usr/i586-pc-linux-gnu/bin/nm
lrwxrwxrwx 1 root root   34 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-objcopy -> /usr/i586-pc-linux-gnu/bin/objcopy
lrwxrwxrwx 1 root root   34 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-objdump -> /usr/i586-pc-linux-gnu/bin/objdump
lrwxrwxrwx 1 root root   33 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-ranlib -> /usr/i586-pc-linux-gnu/bin/ranlib
lrwxrwxrwx 1 root root   34 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-readelf -> /usr/i586-pc-linux-gnu/bin/readelf
lrwxrwxrwx 1 root root   31 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-size -> /usr/i586-pc-linux-gnu/bin/size
lrwxrwxrwx 1 root root   34 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-strings -> /usr/i586-pc-linux-gnu/bin/strings
lrwxrwxrwx 1 root root   32 Mar 29  2007 /usr/bin/i586-pc-linux-gnu-strip -> /usr/i586-pc-linux-gnu/bin/strip

Also alle neuen (i586) zu den (nicht mehr vorhandenen) alten Dateien gelinkt. i586 -> i386.

Zwischendrin beschwert sich emerge, dass ein Compiler nicht gefunden wurde, das liegt aber daran, dass dafür die symlinks noch nicht gesetzt sind.

ABER!! Dies ist nicht die englische art ;)
_________________
1 ha == 1 Hekto-Ar == 1 Hektar
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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