dpull / skynet-mingw

对skynet无任何改动的windows版
http://blog.dpull.com/post/2015-11-08-skynet_mingw
MIT License
306 stars 127 forks source link

帮忙看看, 是我环境有问题吗 #20

Closed zhushaojun65 closed 3 years ago

zhushaojun65 commented 3 years ago

cd 3rd/lua && D:/Bin/mingw/bin/make CC='gcc -std=gnu99' mingw && cd - && cp -f 3rd/lua/lua54.dll ./lua54.dll make[1]: Entering directory 'd:/Workspace/skynet-mingw/3rd/lua' D:/Bin/mingw/bin/make "LUA_A=lua54.dll" "LUA_T=lua.exe" \ "AR=gcc -std=gnu99 -shared -o" "RANLIB=strip --strip-unneeded" \ "SYSCFLAGS=-DLUA_BUILD_AS_DLL" "SYSLIBS=" "SYSLDFLAGS=-s" lua.exe D:\Bin\mingw\bin\make: invalid option -- = D:\Bin\mingw\bin\make: invalid option -- g D:\Bin\mingw\bin\make: invalid option -- u D:\Bin\mingw\bin\make: invalid option -- 9 D:\Bin\mingw\bin\make: invalid option -- 9 D:\Bin\mingw\bin\make: invalid option -- a D:\Bin\mingw\bin\make: unrecognized option '--strip-unneeded SYSCFLAGS=-DLUA_BUILD_AS_DLL SYSLIBS= SYSLDFLAGS=-s lua.exe' Usage: make [options] [target] ... Options: -b, -m Ignored for compatibility. -B, --always-make Unconditionally make all targets. -C DIRECTORY, --directory=DIRECTORY Change to DIRECTORY before doing anything. -d Print lots of debugging information. --debug[=FLAGS] Print various types of debugging information. -e, --environment-overrides Environment variables override makefiles. --eval=STRING Evaluate STRING as a makefile statement. -f FILE, --file=FILE, --makefile=FILE Read FILE as a makefile. -h, --help Print this message and exit. -i, --ignore-errors Ignore errors from recipes. -I DIRECTORY, --include-dir=DIRECTORY Search DIRECTORY for included makefiles. -j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg. -k, --keep-going Keep going when some targets can't be made. -l [N], --load-average[=N], --max-load[=N] Don't start multiple jobs unless load is below N. -L, --check-symlink-times Use the latest mtime between symlinks and target. -n, --just-print, --dry-run, --recon Don't actually run any recipe; just print them. -o FILE, --old-file=FILE, --assume-old=FILE Consider FILE to be very old and don't remake it. -p, --print-data-base Print make's internal database. -q, --question Run no recipe; exit status says if up to date. -r, --no-builtin-rules Disable the built-in implicit rules. -R, --no-builtin-variables Disable the built-in variable settings. -s, --silent, --quiet Don't echo recipes. -S, --no-keep-going, --stop Turns off -k. -t, --touch Touch targets instead of remaking them. --trace Print tracing information. -v, --version Print the version number of make and exit. -w, --print-directory Print the current directory. --no-print-directory Turn off -w, even if it was turned on implicitly. -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE Consider FILE to be infinitely new. --warn-undefined-variables Warn when an undefined variable is referenced.

This program built for i686-pc-mingw32 Report bugs to bug-make@gnu.org Makefile:130: recipe for target 'mingw' failed make[1]: [mingw] Error 2 make[1]: Leaving directory 'd:/Workspace/skynet-mingw/3rd/lua' Makefile:79: recipe for target '3rd/lua/liblua.a' failed make: [3rd/lua/liblua.a] Error 2

zhushaojun65 commented 3 years ago

使用的make.exe不对, 已解决