Cross Compile Gcc

Tim Prince tprince@myrealbox.com
Sat May 12 14:25:00 GMT 2007


none none wrote:
> Hi, Sorry for the delay in replaying,
>
> You were right if I do sudo I have to export again. I did a sudo bash at the begining and I did not  used sudo again. Now the problem is new...
>
> checking for C compiler default output file name... configure: error: C compiler cannot create executables
> See `config.log' for more details.
> make[1]: *** [configure-target-libmudflap] Error 1
> make[1]: Leaving directory `/home/idipous/powerpc/build_gcc'
> make: *** [all] Error 2
>
> and for that matter I checked config.log and  I saw this:
>
> configure:2320:17: error: gmp.h: No such file or directory
> configure: In function 'main':
> configure:2324: error: 'choke' undeclared (first use in this function)
> configure:2324: error: (Each undeclared identifier is reported only once
> configure:2324: error: for each function it appears in.)
> configure:2324: error: expected ';' before 'me'
> configure: failed program was:
> #line 2319 "configure"
> #include "confdefs.h"
> #include "gmp.h"
> int main() {
>
> #if __GNU_MP_VERSION < 3
> choke me
> #endif
>
> why is this?
>
>   
<context snipped due to top posting>
You may not have identified the test which led to "cannot create 
executables."  This one appears to be testing whether you are using at 
least gcc-3.0, so it should not have failed an any current gcc installation.



More information about the Gcc-help mailing list