OK, I gave up on configuring under Windows. Aftet I hacked away all native checks from script, it still generates unusable makefiles because of slashes, I guess. I'll try to compile FreeType on VM in Linux and then just copy file back to Windows. The resulting JS should be platform-independent, right?
On Friday, April 18, 2014 10:26:43 AM UTC+4, Max Savenkov wrote: > > I'm working on porting Allegro game programming library to Emscripten. For > this, I need to compile some open-source projects (libpng, libjpeg, > libogg/libvorbes, freetype) which rely on 'configure' script. I'm working > in Windows, so I'm trying to get it to work with cygwin or MinGW. So far, > no luck. > > First, I was getting errors about Popen unable to find emcc. I did > something (I messed with a lot of things, so I don't exactly remember > what), and now I'm getting error like > > configure:2867: python c:\X\emscripten\emscripten\1.13.0\emcc -V >&5 > clang.exe: error: unsupported option '-V -nostdinc'" > > and > > configure:2920: python c:\X\emscripten\emscripten\1.13.0\emcc > conftest.c >&5 > link: unknown option -- o > Try `/usr/bin/link --help' for more information. > > I think emm is trying to pass MSVC's linker arguments to MinGW's linker or > something like that. > > I have read on the net that this is a common problem, but there are > workarounds. Could anyone point me to a step-by-step instruction on how to > get emconfigure+(MinGW or cygwin)+configure to work under Windows? > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
