Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5b7f945a
Commit
5b7f945a
authored
Jan 04, 2003
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Jan 04, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass only the -o -l -L options to winewrap, ignore the rest.
parent
d9ebfe6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
16 deletions
+32
-16
winegcc.c
tools/winegcc.c
+32
-16
No files found.
tools/winegcc.c
View file @
5b7f945a
...
...
@@ -114,7 +114,27 @@ int main(int argc, char **argv)
{
gcc_argv
[
i
++
]
=
BINDIR
"/winewrap"
;
if
(
gui_app
)
gcc_argv
[
i
++
]
=
"-mgui"
;
if
(
cpp
)
gcc_argv
[
i
++
]
=
"-C"
;
if
(
cpp
)
gcc_argv
[
i
++
]
=
"-C"
;
for
(
j
=
1
;
j
<
argc
;
j
++
)
{
if
(
argv
[
j
][
0
]
==
'-'
)
{
switch
(
argv
[
j
][
1
])
{
case
'L'
:
case
'l'
:
case
'o'
:
gcc_argv
[
i
++
]
=
argv
[
j
];
break
;
default:
;
/* ignore the rest */
}
}
else
gcc_argv
[
i
++
]
=
argv
[
j
];
}
if
(
use_stdlib
&&
use_msvcrt
)
gcc_argv
[
i
++
]
=
"-lmsvcrt"
;
}
else
{
...
...
@@ -132,24 +152,20 @@ int main(int argc, char **argv)
gcc_argv
[
i
++
]
=
"-D__int16=short"
;
gcc_argv
[
i
++
]
=
"-D__int32=int"
;
gcc_argv
[
i
++
]
=
"-D__int64=long long"
;
}
for
(
j
=
1
;
j
<
argc
;
j
++
)
{
if
(
strcmp
(
"-mno-cygwin"
,
argv
[
j
])
==
0
)
;
/* ignore this option */
else
if
(
strcmp
(
"-mwindows"
,
argv
[
j
])
==
0
)
;
/* ignore this option */
else
if
(
strcmp
(
"-s"
,
argv
[
j
])
==
0
)
;
/* ignore this option */
else
gcc_argv
[
i
++
]
=
argv
[
j
];
for
(
j
=
1
;
j
<
argc
;
j
++
)
{
if
(
strcmp
(
"-mno-cygwin"
,
argv
[
j
])
==
0
)
;
/* ignore this option */
else
if
(
strcmp
(
"-mwindows"
,
argv
[
j
])
==
0
)
;
/* ignore this option */
else
if
(
strcmp
(
"-s"
,
argv
[
j
])
==
0
)
;
/* ignore this option */
else
gcc_argv
[
i
++
]
=
argv
[
j
];
}
}
if
(
linking
)
{
if
(
use_stdlib
&&
use_msvcrt
)
gcc_argv
[
i
++
]
=
"-lmsvcrt"
;
}
gcc_argv
[
i
]
=
NULL
;
if
(
verbose
)
...
...
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