This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup.exe - a small feature request


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]