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
f6933ae4
Commit
f6933ae4
authored
Jan 02, 2003
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Jan 02, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile with WINE_UNICODE_NATIVE defined, essential for C++.
New -V option to display the version. Do not link -lc, screws up linking, just get the default.
parent
0fcada9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
winegcc.c
tools/winegcc.c
+6
-1
No files found.
tools/winegcc.c
View file @
f6933ae4
...
...
@@ -72,6 +72,10 @@ int main(int argc, char **argv)
case
'v'
:
/* verbose */
if
(
argv
[
i
][
2
]
==
0
)
verbose
=
1
;
break
;
case
'V'
:
printf
(
"winegcc v0.3
\n
"
);
exit
(
0
);
break
;
case
'm'
:
if
(
strcmp
(
"-mno-cygwin"
,
argv
[
i
])
==
0
)
use_msvcrt
=
1
;
...
...
@@ -125,6 +129,7 @@ int main(int argc, char **argv)
if
(
use_msvcrt
)
gcc_argv
[
i
++
]
=
"-I"
INCLUDEDIR
"/msvcrt"
;
gcc_argv
[
i
++
]
=
"-I"
INCLUDEDIR
"/windows"
;
}
gcc_argv
[
i
++
]
=
"-DWINE_UNICODE_NATIVE"
;
gcc_argv
[
i
++
]
=
"-D__int8=char"
;
gcc_argv
[
i
++
]
=
"-D__int16=short"
;
gcc_argv
[
i
++
]
=
"-D__int32=int"
;
...
...
@@ -145,7 +150,7 @@ int main(int argc, char **argv)
if
(
linking
)
{
if
(
use_stdlib
)
gcc_argv
[
i
++
]
=
use_msvcrt
?
"-lmsvcrt"
:
"-lc
"
;
if
(
use_stdlib
&&
use_msvcrt
)
gcc_argv
[
i
++
]
=
"-lmsvcrt
"
;
}
gcc_argv
[
i
]
=
NULL
;
...
...
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