Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Feb 4, 2025
1 parent dca4bca commit 8b07e49
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions sapi/quickstart/windows/native-build/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,11 @@ set CL=/MP
rem set RTLIBCFG=static
rem nmake mode=static debug=false

rem nmake all


set X_MAKEFILE=%__PROJECT__%\var\windows-build-deps\php-src\Makefile



rem https://www.cnblogs.com/sherry-best/archive/2013/04/15/3022705.html
rem https://learn.microsoft.com/zh-CN/cpp/c-runtime-library/crt-library-features?view=msvc-170&viewFallbackFrom=vs-2019
rem echo ^@"$(LINK)" ^/nologo $(PHP_GLOBAL_OBJS) $(PHP_GLOBAL_OBJS_RESP) $(CLI_GLOBAL_OBJS) $(CLI_GLOBAL_OBJS_RESP) $(STATIC_EXT_OBJS_RESP) $(STATIC_EXT_OBJS) $(ASM_OBJS) $(LIBS) $(LIBS_CLI) $(BUILD_DIR)^\php.exe.res /out:$(BUILD_DIR)^\php.exe $(LDFLAGS) $(LDFLAGS_CLI) >> %x_makefile%
rem echo ^@"$(LINK)" ^/nologo $(DEPS_CLI) $(STATIC_EXT_OBJS_RESP) $(STATIC_EXT_LIBS) $(ASM_OBJS) $(LIBS) $(LIBS_CLI) $(BUILD_DIR)^\php.exe.res /out:$(BUILD_DIR)^\php.exe $(LDFLAGS) $(LDFLAGS_CLI) >> %x_makefile%
rem echo -@$(_VC_MANIFEST_EMBED_EXE) >> %x_makefile%
rem echo ^@echo SAPI sapi\cli build complete >> %x_makefile%
rem echo @if exist php.exe.manifest $(MT) -nologo -manifest php.exe.manifest -outputresource:php.exe >> %x_makefile%

rem /WHOLEARCHIVE /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcrtd.lib /FORCE:MULTIPLE
rem libcpmt.lib libvcruntime.lib libucrt.lib msvcrt.lib
rem /NODEFAULTLIB:libc.lib /NODEFAULTLIB:libcmt.lib /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:libcd.lib /NODEFAULTLIB:libcmtd.lib /NODEFAULTLIB:msvcrtd.lib
rem libvcruntime.lib libcmt.lib

rem /MANIFEST:php.exe.manifest /MANIFESTUAC:uiAccess /SUBSYSTEM:CONSOLE /subsystem:windows


:: nmake /E php.exe
nmake /E /f Makefile x-release-php




:: .\x64\Release\php.exe -v
:: .\x64\Release\php.exe -m
:: dumpbin /DEPENDENTS ".\x64\Release\php.exe"
Expand Down

0 comments on commit 8b07e49

Please sign in to comment.