Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d5aa3d1c
Commit
d5aa3d1c
authored
Nov 08, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Nov 09, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Add subsystem wince.
parent
4cd2a0e5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
build.h
tools/winebuild/build.h
+1
-0
main.c
tools/winebuild/main.c
+2
-1
winebuild.man.in
tools/winebuild/winebuild.man.in
+4
-1
No files found.
tools/winebuild/build.h
View file @
d5aa3d1c
...
...
@@ -207,6 +207,7 @@ struct strarray
#define IMAGE_SUBSYSTEM_NATIVE 1
#define IMAGE_SUBSYSTEM_WINDOWS_GUI 2
#define IMAGE_SUBSYSTEM_WINDOWS_CUI 3
#define IMAGE_SUBSYSTEM_WINDOWS_CE_GUI 9
/* global functions */
...
...
tools/winebuild/main.c
View file @
d5aa3d1c
...
...
@@ -165,6 +165,7 @@ static void set_subsystem( const char *subsystem, DLLSPEC *spec )
if
(
!
strcmp
(
str
,
"native"
))
spec
->
subsystem
=
IMAGE_SUBSYSTEM_NATIVE
;
else
if
(
!
strcmp
(
str
,
"windows"
))
spec
->
subsystem
=
IMAGE_SUBSYSTEM_WINDOWS_GUI
;
else
if
(
!
strcmp
(
str
,
"console"
))
spec
->
subsystem
=
IMAGE_SUBSYSTEM_WINDOWS_CUI
;
else
if
(
!
strcmp
(
str
,
"wince"
))
spec
->
subsystem
=
IMAGE_SUBSYSTEM_WINDOWS_CE_GUI
;
else
if
(
!
strcmp
(
str
,
"win16"
))
spec
->
type
=
SPEC_WIN16
;
else
fatal_error
(
"Invalid subsystem name '%s'
\n
"
,
subsystem
);
if
(
major
)
...
...
@@ -258,7 +259,7 @@ static const char usage_str[] =
" -o, --output=NAME Set the output file name (default: stdout)
\n
"
" -r, --res=RSRC.RES Load resources from RSRC.RES
\n
"
" --save-temps Do not delete the generated intermediate files
\n
"
" --subsystem=SUBSYS Set the subsystem (one of native, windows, console)
\n
"
" --subsystem=SUBSYS Set the subsystem (one of native, windows, console
, wince
)
\n
"
" -u, --undefined=SYMBOL Add an undefined reference to SYMBOL when linking
\n
"
" -v, --verbose Display the programs invoked
\n
"
" --version Print the version and exit
\n
"
...
...
tools/winebuild/winebuild.man.in
View file @
d5aa3d1c
...
...
@@ -203,7 +203,10 @@ for a command line executable,
for a graphical executable,
.br
.B native
for a native-mode dll.
for a native-mode dll,
.br
.B wince
for a ce dll.
.br
The entry point of a command line executable is a normal C \fBmain\fR
function. A \fBwmain\fR function can be used instead if you need the
...
...
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