View previous topic :: View next topic |
Author |
Message |
Neuromancien l33t
Joined: 03 Dec 2003 Posts: 867
|
Posted: Thu Sep 16, 2004 9:09 am Post subject: [CFLAGS] Erreur (résolu) |
|
|
Bonjour,
J'en suis à l'étape du bootstrap et j'obtiens une erreur :
Code: | checking whether make sets $(MAKE)... yes
checking for i386-pc-linux-gnu-strip... no
checking for strip... strip
checking for i386-pc-linux-gnu-gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for autoconf-lib-link
!!! ERROR: sys-devel/gettext-0.12.1 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed
|
Last edited by Neuromancien on Fri Sep 17, 2004 11:54 am; edited 1 time in total |
|
Back to top |
|
|
shinmei n00b
Joined: 16 Sep 2004 Posts: 4
|
Posted: Thu Sep 16, 2004 11:01 am Post subject: |
|
|
Fait un copier/coller de ton /etc/make.conf :
Code: |
grep CFLAGS /etc/make.conf
|
Tu as fait une faute de frappe dans les CFLAGS.
Seb. |
|
Back to top |
|
|
Neuromancien l33t
Joined: 03 Dec 2003 Posts: 867
|
Posted: Thu Sep 16, 2004 12:34 pm Post subject: |
|
|
shinmei wrote: | Fait un copier/coller de ton /etc/make.conf :
Code: |
grep CFLAGS /etc/make.conf
|
Tu as fait une faute de frappe dans les CFLAGS.
Seb. |
Apparemment il n'accepte pas -mcpu=athlon-xp, d'où l'erreur. J'ai donc remis -mcpu=i686. |
|
Back to top |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Thu Sep 16, 2004 12:46 pm Post subject: |
|
|
Neuromancien wrote: | shinmei wrote: | Fait un copier/coller de ton /etc/make.conf :
Code: |
grep CFLAGS /etc/make.conf
|
Tu as fait une faute de frappe dans les CFLAGS.
Seb. |
Apparemment il n'accepte pas -mcpu=athlon-xp, d'où l'erreur. J'ai donc remis -mcpu=i686. |
-mcpu c'est pour avoir une compatibilité descendante, donc tout sera compilé pour que un i686 puisse l'exécuter, si tu veux optimiser pour un athlon-xp il faut mettre -march=athlon-xp mais tu perds la compatibilité descendante (tu gardes la montante par rapport aux athlon-xp) _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
|
|