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
f3831cf2
Commit
f3831cf2
authored
May 16, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Rename the 64-bit loader to wine64 and keep wine always for the 32-bit loader.
This provides better backwards compatibility when running with a 32-bit prefix.
parent
3915cfbd
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
20 deletions
+20
-20
.gitignore
.gitignore
+1
-1
configure
configure
+5
-5
configure.ac
configure.ac
+5
-5
process.c
dlls/kernel32/process.c
+6
-6
Makefile.in
loader/Makefile.in
+1
-1
winewrapper
tools/winewrapper
+2
-2
No files found.
.gitignore
View file @
f3831cf2
...
...
@@ -236,7 +236,7 @@ loader/wine-preloader
loader/wine.de.man
loader/wine.fr.man
loader/wine.man
loader/wine
32
loader/wine
64
programs/Makeprog.rules
programs/rpcss/epm.h
programs/rpcss/epm_s.c
...
...
configure
View file @
f3831cf2
...
...
@@ -12250,7 +12250,7 @@ esac
MAIN_BINARY
=
"wine"
test
-z
"
$with_wine64
"
||
MAIN_BINARY
=
"wine32
"
test
"x
$enable_win64
"
!=
"xyes"
||
MAIN_BINARY
=
"wine64
"
case
$host_cpu
in
*
i[3456789]86
*
)
...
...
@@ -14818,13 +14818,13 @@ ac_config_files="$ac_config_files Make.tmp:Makefile.in"
if
test
-n
"
$with_wine64
"
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server
$with_wine64
/loader/wine
32
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server
$with_wine64
/loader/wine
fonts server:
\$
(RM)
\$
@ &&
\$
(LN_S)
$with_wine64
/
\$
@
\$
@
$with_wine64
/loader/wine
32
:
\$
(RM)
\$
@ &&
\$
(LN_S)
$ac_pwd
/loader/wine
32
\$
@
$with_wine64
/loader/wine:
\$
(RM)
\$
@ &&
\$
(LN_S)
$ac_pwd
/loader/wine
\$
@
clean::
\$
(RM) fonts server
$with_wine64
/loader/wine
32
"
\$
(RM) fonts server
$with_wine64
/loader/wine"
fi
wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"uninstall::
...
...
configure.ac
View file @
f3831cf2
...
...
@@ -1734,7 +1734,7 @@ case $host_os in
esac
AC_SUBST(MAIN_BINARY,"wine")
test
-z "$with_wine64" || MAIN_BINARY="wine32
"
test
"x$enable_win64" != "xyes" || MAIN_BINARY="wine64
"
case $host_cpu in
*i[[3456789]]86*)
...
...
@@ -2753,13 +2753,13 @@ dnl Some final makefile rules
if test -n "$with_wine64"
then
WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],
[all: fonts server $with_wine64/loader/wine
32
[all: fonts server $with_wine64/loader/wine
fonts server:
\$(RM) \$[@] && \$(LN_S) $with_wine64/\$[@] \$[@]
$with_wine64/loader/wine
32
:
\$(RM) \$[@] && \$(LN_S) $ac_pwd/loader/wine
32
\$[@]
$with_wine64/loader/wine:
\$(RM) \$[@] && \$(LN_S) $ac_pwd/loader/wine \$[@]
clean::
\$(RM) fonts server $with_wine64/loader/wine
32
])
\$(RM) fonts server $with_wine64/loader/wine])
fi
WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],
...
...
dlls/kernel32/process.c
View file @
f3831cf2
...
...
@@ -1579,17 +1579,17 @@ static const char *get_alternate_loader( char **ret_env )
*
ret_env
=
NULL
;
if
(
wine_get_build_dir
())
loader
=
is_win64
?
"loader/wine
32"
:
"server/../loader/wine
"
;
if
(
wine_get_build_dir
())
loader
=
is_win64
?
"loader/wine
"
:
"server/../loader/wine64
"
;
if
(
loader_env
)
{
int
len
=
strlen
(
loader_env
);
if
(
is_win64
)
if
(
!
is_win64
)
{
if
(
!
(
env
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
"WINELOADER="
)
+
len
+
2
)))
return
NULL
;
strcpy
(
env
,
"WINELOADER="
);
strcat
(
env
,
loader_env
);
strcat
(
env
,
"
32
"
);
strcat
(
env
,
"
64
"
);
}
else
{
...
...
@@ -1597,7 +1597,7 @@ static const char *get_alternate_loader( char **ret_env )
strcpy
(
env
,
"WINELOADER="
);
strcat
(
env
,
loader_env
);
len
+=
sizeof
(
"WINELOADER="
)
-
1
;
if
(
!
strcmp
(
env
+
len
-
2
,
"
32
"
))
env
[
len
-
2
]
=
0
;
if
(
!
strcmp
(
env
+
len
-
2
,
"
64
"
))
env
[
len
-
2
]
=
0
;
}
if
(
!
loader
)
{
...
...
@@ -1606,7 +1606,7 @@ static const char *get_alternate_loader( char **ret_env )
}
*
ret_env
=
env
;
}
if
(
!
loader
)
loader
=
is_win64
?
"wine
32"
:
"wine
"
;
if
(
!
loader
)
loader
=
is_win64
?
"wine
"
:
"wine64
"
;
return
loader
;
}
...
...
@@ -1637,7 +1637,7 @@ static BOOL create_process( HANDLE hFile, LPCWSTR filename, LPWSTR cmd_line, LPW
if
(
!
is_win64
&&
!
is_wow64
&&
(
binary_info
->
flags
&
BINARY_FLAG_64BIT
))
{
ERR
(
"starting 64-bit process %s not supported on this
platform
\n
"
,
debugstr_w
(
filename
)
);
ERR
(
"starting 64-bit process %s not supported on this
environment
\n
"
,
debugstr_w
(
filename
)
);
SetLastError
(
ERROR_BAD_EXE_FORMAT
);
return
FALSE
;
}
...
...
loader/Makefile.in
View file @
f3831cf2
...
...
@@ -13,7 +13,7 @@ EXTRA_BINARIES = @EXTRA_BINARIES@
PROGRAMS
=
\
wine
\
wine
32
\
wine
64
\
wine-installed
\
wine-preloader
...
...
tools/winewrapper
View file @
f3831cf2
...
...
@@ -83,8 +83,8 @@ fi
if
[
-x
"
$topdir
/loader/wine"
]
then
WINELOADER
=
"
$topdir
/loader/wine"
elif
[
-x
"
$topdir
/loader/wine
32
"
]
then
WINELOADER
=
"
$topdir
/loader/wine
32
"
elif
[
-x
"
$topdir
/loader/wine
64
"
]
then
WINELOADER
=
"
$topdir
/loader/wine
64
"
else
echo
"
$0
: could not find the wine loader in
$topdir
"
exit
1
...
...
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