| View previous topic :: View next topic |
| Author |
Message |
qootie n00b

Joined: 30 Mar 2005 Posts: 5
|
Posted: Tue Apr 19, 2005 10:16 pm Post subject: C Compiler cannot create executables Compaq Presario 700 EA |
|
|
Hi,
I came across with the same problem when i tried to install Gentoo to my laptop -> C Compiler cannot create executables.
I solved it. In my /etc/make.conf file my cpu flag was set to
CFLAGS=*-march=i686-pc-linux-gnu -pipe -O3 -fomit-frame-pointer"
it should be
CFLAGS=*-mcpu=athlon-tbird -pipe -O3 -fomit-frame-pointer"
that's it...
Good Luck eveybody... _________________ Regards,
Qootie |
|
| Back to top |
|
 |
Bob P Advocate


Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Wed Apr 20, 2005 6:37 am Post subject: |
|
|
yes, getting your architecture wrong is a definite show stopper.
since you changed two things at once, maybe some clarification is in order. just for reference:
first, i686-pc-linux-gnu is a CHOST setting, not a processor setting. that alone is sufficient to break your compiler.
second, i doubt that changing -march to -mcpu actually fixed the problem. you should be able to use either one. _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
| Back to top |
|
 |
Maedhros Bodhisattva


Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
|
| Back to top |
|
 |
|