On 08/07/2014 04:04, Sathyanarayanan Gunasekaran wrote:
> Here's more information on how to use it -
> http://gsathya.in/blog/mozilla/sdl2-emscripten.html
>
It falls at the first hurdle. "C compiler cannot create executables".
What am I doing wrong?
$ emconfigure ./configure --host=asmjs-unknown-emscripten
--disable-assembly --disable-threads --enable-cpuinfo=false CFLAGS="-O2"
cygwin warning:
MS-DOS style path detected: C:/Program
Files/Emscripten/clang/e1.21.0_64bit/pnacl-clang
Preferred POSIX equivalent is: /cygdrive/c/Program
Files/Emscripten/clang/e1.21.0_64bit/pnacl-clang
CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
DEBUG root: JAVA not defined in ~/.emscripten, using "java"
checking build system type... x86_64-unknown-cygwin
checking host system type... asmjs-unknown-emscripten
checking how to print strings... printf
checking for asmjs-unknown-emscripten-gcc... /cygdrive/c/Program
Files/Emscripten/emscripten/1.21.0/emcc
checking whether the C compiler works... no
configure: error: in `/cygdrive/c/Users/callow_mark/GitHub/SDL-emscripten':
configure: error: C compiler cannot create executables
See `config.log' for more details
ERROR root: Configure step failed with non-zero return code 77!
Command line: ['./configure', '--host=asmjs-unknown-emscripten',
'--disable-assembly', '--disable-threads', '--enable-cpuinfo=false',
'CFLAGS=-O2']
Regards
-Mark
--
注意:この電子メールには、株式会社エイチアイの機密情報が含まれている場合
が有ります。正式なメール受信者では無い場合はメール複製、 再配信または情
報の使用を固く禁じております。エラー、手違いでこのメールを受け取られまし
たら削除を行い配信者にご連絡をお願いいたし ます.
NOTE: This electronic mail message may contain confidential and
privileged information from HI Corporation. If you are not the intended
recipient, any disclosure, photocopying, distribution or use of the
contents of the received information is prohibited. If you have received
this e-mail in error, please notify the sender immediately and
permanently delete this message and all related copies.
--
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.