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
fec5f5cf
Commit
fec5f5cf
authored
Jun 17, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Implement a --large-address-aware flag.
parent
2deeb1c7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
main.c
tools/winebuild/main.c
+6
-0
winebuild.man.in
tools/winebuild/winebuild.man.in
+4
-0
No files found.
tools/winebuild/main.c
View file @
fec5f5cf
...
...
@@ -222,6 +222,7 @@ static const char usage_str[] =
" -I DIR Ignored for C flags compatibility
\n
"
" -k, --kill-at Kill stdcall decorations in generated .def files
\n
"
" -K, FLAGS Compiler flags (only -KPIC is supported)
\n
"
" --large-address-aware Support an address space larger than 2Gb
\n
"
" --ld-cmd=LD Command to use for linking (default: ld)
\n
"
" -l, --library=LIB Import the specified library
\n
"
" -L, --library-path=DIR Look for imports libraries in DIR
\n
"
...
...
@@ -254,6 +255,7 @@ enum long_options_values
LONG_OPT_EXE
,
LONG_OPT_ASCMD
,
LONG_OPT_EXTERNAL_SYMS
,
LONG_OPT_LARGE_ADDRESS_AWARE
,
LONG_OPT_LDCMD
,
LONG_OPT_NMCMD
,
LONG_OPT_NXCOMPAT
,
...
...
@@ -274,6 +276,7 @@ static const struct option long_options[] =
{
"exe"
,
0
,
0
,
LONG_OPT_EXE
},
{
"as-cmd"
,
1
,
0
,
LONG_OPT_ASCMD
},
{
"external-symbols"
,
0
,
0
,
LONG_OPT_EXTERNAL_SYMS
},
{
"large-address-aware"
,
0
,
0
,
LONG_OPT_LARGE_ADDRESS_AWARE
},
{
"ld-cmd"
,
1
,
0
,
LONG_OPT_LDCMD
},
{
"nm-cmd"
,
1
,
0
,
LONG_OPT_NMCMD
},
{
"nxcompat"
,
1
,
0
,
LONG_OPT_NXCOMPAT
},
...
...
@@ -451,6 +454,9 @@ static char **parse_options( int argc, char **argv, DLLSPEC *spec )
case
LONG_OPT_EXTERNAL_SYMS
:
link_ext_symbols
=
1
;
break
;
case
LONG_OPT_LARGE_ADDRESS_AWARE
:
spec
->
characteristics
|=
IMAGE_FILE_LARGE_ADDRESS_AWARE
;
break
;
case
LONG_OPT_LDCMD
:
ld_command
=
xstrdup
(
optarg
);
break
;
...
...
tools/winebuild/winebuild.man.in
View file @
fec5f5cf
...
...
@@ -137,6 +137,10 @@ generated .def file. Only meaningful in \fB--def\fR mode.
.BI \-K\ flags
Ignored for compatibility with the C compiler.
.TP
.BI \--large-address-aware
Set a flag in the executable to notify the loader that this
application supports address spaces larger than 2 gigabytes.
.TP
.BI \--ld-cmd= ld-command
Specify the command to use to link the object files; the default is
\fBld\fR.
...
...
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