I also see the wiki is updated already. Marking this thread as 'solved'.
]]>if ((p = getenv( "WINEARCH" )) && !strcmp( p, "win32" ))
{
/* force creation of a 32-bit prefix */
int fd = open( "system.reg", O_WRONLY | O_CREAT | O_EXCL, 0666 );
if (fd != -1)
{
static const char regfile[] = "WINE REGISTRY Version 2\n\n#arch=win32\n";
write( fd, regfile, sizeof(regfile) - 1 );
close( fd );
}
}
This means that passing anything into WINEARCH at all currently triggers creations of a win64 WINEPREFIX unless it's win32.
]]>Thanks!
]]>Could anyone please try to create a prefix with WINEARCH set to win64 and post the results here?
Thank you in advance.
]]>wine: created the configuration directory '/home/caan/test'
The line states that a new directory is being created for the new prefix, also I've performed a numerous number of tests with different prefix names and always either empty existing directories or nonexistent ones.
]]>wine: WINEARCH set to win64 but '/home/caan/test' is a 32-bit installation.
It looks like you're trying to use WINEARCH=win64 on a prefix that's already 32-bit and you can't change the arch of a prefix that's already created.
You only need WINEARCH to use a 32-bit prefix - 64bit is the default.
Just remove the existing wine prefix, unset WINEARCH and try again.
]]>I've installed wine 1.3.9-1 from multilib today together with dependencies, recommended lib32- packages, wine_gecko, winetricks and q4wine (just to check it out).
My problem is whenever I try to create a 64-bit prefix using WINEARCH I receive the following error:
$ WINEARCH=win64 WINEPREFIX=~/test winecfg
wine: created the configuration directory '/home/caan/test'
wine: WINEARCH set to win64 but '/home/caan/test' is a 32-bit installation.
err:process:start_wineboot failed to start wineboot, err 1359
wine: WINEARCH set to win64 but '/home/caan/test' is a 32-bit installation.
It works properly for a 32-bit installation with WINEARCH=win32 and without WINEARCH variable changes, which is odd, since ArchWiki claims that win64 should be the default setting for WINEARCH when x86_64 version is installed. I've tried removing wine_gecko, winetricks and q4wine and reinstalling wine, but the same error message persists and I can't create a 64-bit prefix.
Any help would be very appreciated since I can't find any relevant infromation around the web,
thank you.