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
79335620
Commit
79335620
authored
Jul 01, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Support a -mno-cygwin flag.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2d5bd21f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
build.h
tools/winebuild/build.h
+1
-0
import.c
tools/winebuild/import.c
+1
-1
main.c
tools/winebuild/main.c
+2
-0
winebuild.man.in
tools/winebuild/winebuild.man.in
+5
-2
No files found.
tools/winebuild/build.h
View file @
79335620
...
...
@@ -363,6 +363,7 @@ extern int verbose;
extern
int
link_ext_symbols
;
extern
int
force_pointer_size
;
extern
int
unwind_tables
;
extern
int
use_msvcrt
;
extern
int
unix_lib
;
extern
int
safe_seh
;
...
...
tools/winebuild/import.c
View file @
79335620
...
...
@@ -643,7 +643,7 @@ void read_undef_symbols( DLLSPEC *spec, char **argv )
add_undef_import
(
p
+
strlen
(
import_func_prefix
),
0
);
else
if
(
!
strncmp
(
p
,
import_ord_prefix
,
strlen
(
import_ord_prefix
)
))
add_undef_import
(
p
+
strlen
(
import_ord_prefix
),
1
);
else
if
(
!
unix_lib
||
!
find_name
(
p
,
&
stdc_functions
))
else
if
(
use_msvcrt
||
!
find_name
(
p
,
&
stdc_functions
))
strarray_add
(
&
undef_symbols
,
xstrdup
(
p
),
NULL
);
}
if
((
err
=
pclose
(
f
)))
warning
(
"%s failed with status %d
\n
"
,
cmd
,
err
);
...
...
tools/winebuild/main.c
View file @
79335620
...
...
@@ -46,6 +46,7 @@ int verbose = 0;
int
link_ext_symbols
=
0
;
int
force_pointer_size
=
0
;
int
unwind_tables
=
0
;
int
use_msvcrt
=
0
;
int
unix_lib
=
0
;
int
safe_seh
=
0
;
...
...
@@ -445,6 +446,7 @@ static char **parse_options( int argc, char **argv, DLLSPEC *spec )
else
if
(
!
strcmp
(
optarg
,
"64"
))
force_pointer_size
=
8
;
else
if
(
!
strcmp
(
optarg
,
"arm"
))
thumb_mode
=
0
;
else
if
(
!
strcmp
(
optarg
,
"thumb"
))
thumb_mode
=
1
;
else
if
(
!
strcmp
(
optarg
,
"no-cygwin"
))
use_msvcrt
=
1
;
else
if
(
!
strcmp
(
optarg
,
"unix"
))
unix_lib
=
1
;
else
if
(
!
strncmp
(
optarg
,
"cpu="
,
4
))
cpu_option
=
xstrdup
(
optarg
+
4
);
else
if
(
!
strncmp
(
optarg
,
"fpu="
,
4
))
fpu_option
=
xstrdup
(
optarg
+
4
);
...
...
tools/winebuild/winebuild.man.in
View file @
79335620
...
...
@@ -177,9 +177,12 @@ Generate respectively 16-bit, 32-bit or 64-bit code.
.BI \-marm,\ \-mthumb,\ \-march= option ,\ \-mcpu= option ,\ \-mfpu= option ,\ \-mfloat-abi= option
Set code generation options for the assembler.
.TP
.B \-mno-cygwin
Build a library that uses the Windows runtime instead of the Unix C
library.
.TP
.B \-munix
Build a library that imports standard functions from the Unix C
library instead of the Windows runtime.
Build the Unix counterpart of a builtin module.
.TP
.BI \-M,\ --main-module= module
When building a 16-bit dll, set the name of its 32-bit counterpart to
...
...
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