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
f195c1eb
Commit
f195c1eb
authored
Jul 26, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegcc: Don't import winecrt0 by default when building with -nodefaultlibs.
parent
4b484803
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
10 deletions
+5
-10
Makefile.in
dlls/kernel32/Makefile.in
+1
-1
Makefile.in
dlls/krnl386.exe16/Makefile.in
+1
-1
Makefile.in
dlls/ntdll/Makefile.in
+1
-0
winegcc.c
tools/winegcc/winegcc.c
+2
-8
No files found.
dlls/kernel32/Makefile.in
View file @
f195c1eb
...
...
@@ -5,7 +5,7 @@ SRCDIR = @srcdir@
VPATH
=
@srcdir@
MODULE
=
kernel32.dll
IMPORTLIB
=
kernel32
IMPORTS
=
ntdll
IMPORTS
=
winecrt0
ntdll
EXTRALIBS
=
@COREFOUNDATIONLIB@ @LIBPOLL@
EXTRADLLFLAGS
=
-nodefaultlibs
-Wb
,-F,KERNEL32.dll
-Wl
,--image-base,0x7b800000
...
...
dlls/krnl386.exe16/Makefile.in
View file @
f195c1eb
...
...
@@ -4,7 +4,7 @@ SRCDIR = @srcdir@
VPATH
=
@srcdir@
MODULE
=
krnl386.exe16
IMPORTLIB
=
kernel
IMPORTS
=
kernel32 ntdll
IMPORTS
=
winecrt0
kernel32 ntdll
DELAYIMPORTS
=
ddraw dsound user32
EXTRAIMPLIBFLAGS
=
-m16
EXTRADLLFLAGS
=
-m16
-nodefaultlibs
-Wb
,--dll-name,kernel
...
...
dlls/ntdll/Makefile.in
View file @
f195c1eb
...
...
@@ -5,6 +5,7 @@ SRCDIR = @srcdir@
VPATH
=
@srcdir@
MODULE
=
ntdll.dll
IMPORTLIB
=
ntdll
IMPORTS
=
winecrt0
EXTRALIBS
=
@IOKITLIB@ @LIBPTHREAD@
EXTRADLLFLAGS
=
-nodefaultlibs
-Wl
,--image-base,0x7bc00000
...
...
tools/winegcc/winegcc.c
View file @
f195c1eb
...
...
@@ -745,15 +745,12 @@ static void build(struct options* opts)
for
(
j
=
0
;
j
<
lib_dirs
->
size
;
j
++
)
strarray_add
(
link_args
,
strmake
(
"-L%s"
,
lib_dirs
->
base
[
j
]));
if
(
!
opts
->
nostartfiles
)
{
add_library
(
opts
,
lib_dirs
,
files
,
"winecrt0"
);
if
(
!
opts
->
nodefaultlibs
)
{
add_library
(
opts
,
lib_dirs
,
files
,
"winecrt0"
);
add_library
(
opts
,
lib_dirs
,
files
,
"kernel32"
);
add_library
(
opts
,
lib_dirs
,
files
,
"ntdll"
);
}
}
if
(
opts
->
shared
&&
!
opts
->
nostdlib
)
add_library
(
opts
,
lib_dirs
,
files
,
"wine"
);
if
(
!
opts
->
shared
&&
opts
->
use_msvcrt
&&
opts
->
target_platform
==
PLATFORM_CYGWIN
)
add_library
(
opts
,
lib_dirs
,
files
,
"msvcrt"
);
...
...
@@ -833,16 +830,13 @@ static void build(struct options* opts)
add_library
(
opts
,
lib_dirs
,
files
,
"user32"
);
}
if
(
!
opts
->
nostartfiles
)
{
add_library
(
opts
,
lib_dirs
,
files
,
"winecrt0"
);
if
(
!
opts
->
nodefaultlibs
)
{
add_library
(
opts
,
lib_dirs
,
files
,
"winecrt0"
);
if
(
opts
->
win16_app
)
add_library
(
opts
,
lib_dirs
,
files
,
"kernel"
);
add_library
(
opts
,
lib_dirs
,
files
,
"kernel32"
);
add_library
(
opts
,
lib_dirs
,
files
,
"ntdll"
);
}
}
if
(
!
opts
->
nostdlib
)
add_library
(
opts
,
lib_dirs
,
files
,
"wine"
);
/* run winebuild to generate the .spec.o file */
...
...
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