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.

Reply via email to