MingW failed to build gmp-5.0.5

Gabriel Risterucci cleyfaye at gmail.com
Tue Jul 17 20:55:01 CEST 2012


You should check in config.log where it try to create the a.out test file,
and check if you have write permission here.

-- 
Cley Faye
http://cleyfaye.net


2012/7/17 JIA Pei <jp4work at gmail.com>

> Hi, all:
>
> I was considering to build gmp under MingW under Win7. However, the simple
>
> ./configure
> >
>
> just give me an error:
>
> configure: error: could not find a working compiler, see config.log for
> > details
> > int main () { return 0; }
> > configure:6480: result: no
> > configure:5440: checking compiler cc -O2 -pedantic -fomit-frame-pointer
> > Test compile:
> > configure:5454: cc -O2 -pedantic -fomit-frame-pointer  conftest.c >&5
> > c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe:
> > cannot open output file a.exe: Permission denied
> > collect2: ld returned 1 exit status
> > configure:5457: $? = 1
> > failed program was:
> >
> > int main () { return 0; }
> > configure:6480: result: no
> > configure:6718: error: could not find a working compiler, see config.log
> > for details
> >
>
>
> Can anybody please give me a hand on how to build gmp under Windows, using
> MingW?
>
>
> Best Regards
>
> --
>
> Pei JIA
>
> Email: jp4work at gmail.com
> cell:    +1 604-362-5816
>
> Welcome to Vision Open
> http://www.visionopen.com
> _______________________________________________
> gmp-discuss mailing list
> gmp-discuss at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-discuss
>


More information about the gmp-discuss mailing list