Closed matrix3d closed 4 years ago
see Windows Setup also see extras/cygwin/redtamarin-dev-setup.bat
to build under Windows you need to install Cygwin Cygwin provide uname
you seem to think you just need to fix bug till the whole thing compile, it will not work
you have to follow EVERYTHING described here Windows Setup
the last "bug" you mention
[exec] /cygdrive/f/proj/redtamarin/src/build/cygwin-wrapper.sh: 绗? 78 琛?: exec: cl.exe: 鏈壘鍒?
are explained under Visual Studio and Configure your Visual Studio environment
if you don't setup the Visual Studio environment variables then
under Cygwin Bash prompt
$ cl
will fail
when it should returns
Microsoft (R) C/C++ Optimizing Compiler Version 16.00.40219.01 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
usage: cl [ option... ] filename... [ /link linkoption... ]
few advices
yeah compiling C++ is hard
the win10 have uname -r? compile-binaries-task:
before: [mkdir] Created dir: F:\proj\redtamarin\bin-debug-32\release [echo] release32 flags: [echo] --target=i386-windows [exec] Traceback (most recent call last): [exec] File "../../src/configure.py", line 131, in
[exec] sourcefile = 'core/avmplus.h')
[exec] File "F:\proj\redtamarin\src\build\configuration.py", line 90, in init
[exec] self._host = _configGuess(options)
[exec] File "F:\proj\redtamarin\src\build\configuration.py", line 36, in _configGuess
[exec] cputest = build.process.run_for_output(['uname', '-m'])
[exec] File "F:\proj\redtamarin\src\build\process.py", line 17, in run_for_output
[exec] raise Exception("Command failed: '" + cmd + "'")
[exec] Exception: Command failed: 'uname -m'