This is the mail archive of the
mailing list for the Cygwin project.
Re: cannot run setup64.exe without admin privileges (even if renamed foo.exe)
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Wed, 18 Sep 2013 14:09:16 -0400
- Subject: Re: cannot run setup64.exe without admin privileges (even if renamed foo.exe)
- Authentication-results: sourceware.org; auth=none
- References: <CAPw2spinsbSZaduOMJtgR6rkaoJA9s7rTm6LCwvWBCK9-kiN8A at mail dot gmail dot com> <5231EEF4 dot 6010407 at users dot sourceforge dot net> <CAPw2sphgi3r6U=ZvUj7ywS1JYOgPY2f4spuDW8Frff5gUCsrtQ at mail dot gmail dot com> <20130918174034 dot GB2351 at ednor dot casa dot cgf dot cx> <CAPw2spi2cQMRid83Zg53d3QvaA9J=2=kBXet_0SHnZtOxmwjDg at mail dot gmail dot com>
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
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
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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple