Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
slapos.package
Commits
3ed96087
Commit
3ed96087
authored
Aug 26, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ipwin does not build 64-bit application in windows 7
parent
067ba1ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
windows/ipwin/ipwin/build.bat
windows/ipwin/ipwin/build.bat
+6
-5
No files found.
windows/ipwin/ipwin/build.bat
View file @
3ed96087
...
@@ -4,8 +4,9 @@ SETLOCAL
...
@@ -4,8 +4,9 @@ SETLOCAL
SET
VCVARSALL
=
"C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
SET
VCVARSALL
=
"C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
SET
SETENV
=
"C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.cmd"
SET
SETENV
=
"C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.cmd"
IF
/I
"
%PROCESSOR_ARCHITE
CTURE%
"
==
"x86"
GOTO
ARCH_X86
IF
/I
"
%PROCESSOR
_ARCHITE
W6432
%
"
==
"AMD64"
GOTO
ARCH_AMD64
IF
/I
"
%PROCESSOR_ARCHITECTURE%
"
==
"AMD64"
GOTO
ARCH_AMD64
IF
/I
"
%PROCESSOR_ARCHITECTURE%
"
==
"AMD64"
GOTO
ARCH_AMD64
IF
/I
"
%PROCESSOR_ARCHITECTURE%
"
==
"x86"
GOTO
ARCH_X86
ECHO
.
ECHO
.
ECHO
Failed
to
build
,
unknown
architecture
:
%PROCESSOR_ARCHITECTURE%
ECHO
Failed
to
build
,
unknown
architecture
:
%PROCESSOR_ARCHITECTURE%
...
@@ -13,8 +14,8 @@ ECHO.
...
@@ -13,8 +14,8 @@ ECHO.
GOTO
END
GOTO
END
:ARCH
_X86
:ARCH
_X86
IF
EXIST
%VCVARSALL%
.
(
IF
EXIST
%VCVARSALL%
.
(
CALL
%VCVARSALL%
CALL
%VCVARSALL%
cl
/D
"UNICODE"
/D
"_UNICODE"
ipwin
.cpp
netcfg
.cpp
setupapi
.lib
iphlpapi
.lib
advapi32
.lib
cl
/D
"UNICODE"
/D
"_UNICODE"
ipwin
.cpp
netcfg
.cpp
setupapi
.lib
iphlpapi
.lib
advapi32
.lib
GOTO
END
)
GOTO
END
)
...
@@ -27,10 +28,10 @@ ECHO.
...
@@ -27,10 +28,10 @@ ECHO.
GOTO END
GOTO END
:ARCH_AMD64
:ARCH_AMD64
IF EXIST
%SETENV%
. (
IF EXIST
%SETENV%
. (
SETLOCAL ENABLEDELAYEDEXPANSION
SETLOCAL ENABLEDELAYEDEXPANSION
SETLOCAL ENABLEDELAYEDEXPANSION
SETLOCAL ENABLEDELAYEDEXPANSION
CALL
%SETENV%
CALL
%SETENV%
cl /D"UNICODE" /D"_UNICODE" ipwin.cpp netcfg.cpp setupapi.lib iphlpapi.lib advapi32.lib
cl /D"UNICODE" /D"_UNICODE" ipwin.cpp netcfg.cpp setupapi.lib iphlpapi.lib advapi32.lib
GOTO END )
GOTO END )
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment