cannot run setup64.exe without admin privileges (even if renamed foo.exe)
Charles Wilson
cygwin@cwilson.fastmail.fm
Wed Sep 18 18:39:00 GMT 2013
On 9/18/2013 1:53 PM, Frédéric Bron wrote:
>>> Is it possible to build setup64.exe from a 32bit cygwin?
>>
>> As previously mentioned, despite the subject, there is no such thing as
>> setup64.exe. The makefile creates setup.exe. The filename gets changed
>> when it gets uploaded to cygwin.com to either setup-x86.exe or
>> setup-x86_64.exe.
>
> do you mean I can only build the 32bit version on i686 bits and the
> 64bit version on x86_64 and in both case the binary is called
> setup.exe after running make?
> This means I cannot build the x86_64 version from a i686 cygwin. Is
> that correct?
No. setup.exe (either 32bit or 64bit) is a native windows application,
and if you're trying to build it within cygwin, then you MUST use a
cross compiler -- either i686-w64-mingw32 or x86_64-w64-mingw32. when
configuring the build, just do:
configure --host=i686-w64-mingw32 --build=i686-pc-cygwin ....
to build 32bit setup.exe from 32bit cygwin
configure --host=x86_64-w64-mingw32 --build=x86_64-pc-cygwin ....
to build 64bit setup.exe from 64bit cygwin
...but you can always mix and match the --build and --host settings;
32setup from 64cygwin, or 64setup from 32cygwin.
--
Chuck
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list