> 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.
It works very nicely. I have managed to build setup.exe for x86_64 from my old cygwin on i686 and I can now run setup on Windows 7 64 bits without administrator privileges. Wonderful! I just modified this: Index: bootstrap.sh =================================================================== RCS file: /cvs/cygwin-apps/setup/bootstrap.sh,v retrieving revision 2.9 diff -r2.9 bootstrap.sh 63a64 > host=x86_64-w64-mingw32 Index: setup64.exe.manifest =================================================================== RCS file: /cvs/cygwin-apps/setup/setup64.exe.manifest,v retrieving revision 2.1 diff -r2.1 setup64.exe.manifest 25c25 < <requestedExecutionLevel level="requireAdministrator" uiAccess="false"/> --- > <requestedExecutionLevel level="asInvoker" uiAccess="false"/> Thanks a lot to everybody for the help, Frédéric -- 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