X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 18 Feb 2010 11:04:14 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: setup.exe - a small feature request Message-ID: <20100218160414.GA27154@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20100218104928 DOT GA2684 AT mimosa DOT garydjones DOT name> <4B7D3854 DOT 3070801 AT byu DOT net> <4B7D4445 DOT 5060808 AT bopp DOT net> <20100218145226 DOT GA2248 AT mimosa DOT garydjones DOT name> <4B7D63DE DOT 7060700 AT cs DOT umass DOT edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B7D63DE.7060700@cs.umass.edu> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Thu, Feb 18, 2010 at 10:59:26AM -0500, Eliot Moss wrote: >On 2/18/2010 9:52 AM, Gary wrote: >> On Thu, Feb 18, 2010 at 07:44:37AM -0600, Jeremy Bopp wrote: >>> Eric Blake wrote: >>>> According to Gary on 2/18/2010 3:49 AM: >>>>> Is it already possible to somehow save the value of the "Create Shortcut >>>>> on Desktop" checkbox? >> >>>> I would also like such a patch. >> >>> Just FYI, a shortcut with the necessary option (--no-shortcuts) added >>> can also be used instead of a batch file. >> >> Maybe I could put that shortcut on my desktop instead of the one setup >> wants to put there :D >> >> Actually, I decided to have a little look at the code, but fell at the >> first hurdle whilst following the instructions in the README, because >> ./configure complains that -mno-cygwin is not supported (true enough): >> >> configure:3021: checking whether the C++ compiler works >> configure:3043: g++ -mno-cygwin -I /usr/include/ncurses conftest.cpp>&5 >> g++: The -mno-cygwin flag has been removed; use a mingw-targeted cross-compiler\ >> . >> >> configure:3047: $? = 1 >> configure:3085: result: no >> configure: failed program was: >> (etc.) >> >> WTH? Am I supposed to be using some other compiler, such as gcc-3? >> >> (Note: removing the -mno-cygwin option seems to make configure work, but >> the knock on effect is probably not desirable.) > >I think the answer is to install and use mingw. In any case, >this kind of makes sense, since most things compiler *under* >cygwin want the cygwin libraries ... but setup.exe needs to >run *before* cygwin is installed ... No, the answer is to use gcc-3. It should be fairly obvious that setup can't be built with gcc-4 right now, once you attempt to try to build it. cgf -- 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