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
0c7b27aa
Commit
0c7b27aa
authored
Jul 21, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Add support for a -m16 option to specify a 16-bit build.
parent
7f6831aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
winegcc.c
tools/winegcc/winegcc.c
+7
-0
No files found.
tools/winegcc/winegcc.c
View file @
0c7b27aa
...
...
@@ -194,6 +194,7 @@ struct options
int
noshortwchar
;
int
gui_app
;
int
unicode_app
;
int
win16_app
;
int
compile_only
;
int
force_pointer_size
;
int
large_address_aware
;
...
...
@@ -694,6 +695,9 @@ static void build(struct options* opts)
strarray
*
resources
=
strarray_alloc
();
char
*
res_o_name
=
NULL
;
if
(
opts
->
win16_app
)
error
(
"Building 16-bit code is not supported for Windows
\n
"
);
if
(
opts
->
shared
)
{
/* run winebuild to generate the .def file */
...
...
@@ -848,6 +852,7 @@ static void build(struct options* opts)
strarray_add
(
spec_args
,
"-E"
);
strarray_add
(
spec_args
,
spec_file
);
}
if
(
opts
->
win16_app
)
strarray_add
(
spec_args
,
"-m16"
);
if
(
!
opts
->
shared
)
{
...
...
@@ -1270,6 +1275,8 @@ int main(int argc, char **argv)
opts
.
gui_app
=
0
;
else
if
(
strcmp
(
"-municode"
,
argv
[
i
])
==
0
)
opts
.
unicode_app
=
1
;
else
if
(
strcmp
(
"-m16"
,
argv
[
i
])
==
0
)
opts
.
win16_app
=
1
;
else
if
(
strcmp
(
"-m32"
,
argv
[
i
])
==
0
)
{
if
(
opts
.
target_cpu
==
CPU_x86_64
)
...
...
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