On Thu, Oct 30, 2014 at 6:10 PM, Valerio Messina <e...@iol.it> wrote: >>----Messaggio originale---- >>Da: alyoshi...@gmail.com >>Data: 30/10/2014 12.20 >> >>> Now I will try to generate the binary for Win32 >> >>For static build you can use MXE on Linux >> >>PKG_CONFIG=/path/to/mxe.git/usr/bin/i686-pc-mingw32-pkg-config >>./configure --host=i686-pc-mingw32 > > > Building 'mxe' I got this error: > ... > [download] gcc > [build] gcc > > Failed to build package gcc! > ------------------------------------------------------------ > make[3]: *** [all-gcc] Error 2 > make[3]: Leaving directory `/home/efa/c/mxe/tmp-gcc/gcc-4.8.1.build' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/efa/c/mxe/tmp-gcc/gcc-4.8.1.build' > make[1]: *** [build-only-gcc_i686-pc-mingw32] Error 2 > make[1]: Leaving directory `/home/efa/c/mxe' > real 4m24.394s > user 3m20.665s > sys 2m14.552s > ------------------------------------------------------------ > [log] /home/efa/c/mxe/log/gcc > > make: *** [/home/efa/c/mxe/usr/i686-pc-mingw32/installed/gcc] Error 1 > > > > Try to cross compile 'gerbv' with: > $ ./configure --host=i686-pc-mingw32 > I got this error: > ... > checking for i686-pc-mingw32-windres... no > checking for windres... no > configure: error: *** Could not find an implementation of windres in your > PATH. > [Exit 1] > > > Try to cross compile 'gerbv' with: > $ ./configure --host=i686-w64-mingw32 > generate the Makefile, but make fail with: > ... > i686-w64-mingw32-gcc: error: unrecognized option '-pthread' > make[2]: *** [bindtextdom.o] Error 1 > make[2]: Leaving directory `/home/efa/c/gerbv/intl' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/efa/c/gerbv' > make: *** [all] Error 2 > [Exit 2] > > > So no way to build a Win32 executable. > Any help appreciated.
I can try to build it with MXE after 3-4 hours. ------------------------------------------------------------------------------ _______________________________________________ Gerbv-devel mailing list Gerbv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gerbv-devel