public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Upgrading to cygwin 1.7.6 vs gcc 4.5
@ 2010-08-17 22:54 Ross Smith
  2010-08-17 23:10 ` Eric Blake
  0 siblings, 1 reply; 5+ messages in thread
From: Ross Smith @ 2010-08-17 22:54 UTC (permalink / raw)
  To: cygwin

I've installed the experimental gcc 4.5 packages (because that's the 
version I'm using in all my other development environments, and it's 
nice not to have to target multiple compiler versions any more), but now 
that cygwin dll 1.7.6 is out, I can't seem to find a way to upgrade 
cygwin without also downgrading gcc. In the installer, if I select 
Current I get the new cygwin but the old gcc, while if I select 
Experimental, it keeps the new gcc but doesn't offer me the new cygwin.

At the moment I'm sticking with the old cygwin, because the gcc upgrade 
is more important to me than the cygwin upgrade. Is there some way I'm 
missing to select both, or do I just have to accept that I can't upgrade 
anything else until the official gcc 4.5 is ready?

-- Ross Smith



--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Upgrading to cygwin 1.7.6 vs gcc 4.5
  2010-08-17 22:54 Upgrading to cygwin 1.7.6 vs gcc 4.5 Ross Smith
@ 2010-08-17 23:10 ` Eric Blake
  2010-08-18  5:25   ` Andy Koppe
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Blake @ 2010-08-17 23:10 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]

On 08/17/2010 04:54 PM, Ross Smith wrote:
> I've installed the experimental gcc 4.5 packages (because that's the
> version I'm using in all my other development environments, and it's
> nice not to have to target multiple compiler versions any more), but now
> that cygwin dll 1.7.6 is out, I can't seem to find a way to upgrade
> cygwin without also downgrading gcc. In the installer, if I select
> Current I get the new cygwin but the old gcc, while if I select
> Experimental, it keeps the new gcc but doesn't offer me the new cygwin.
> 
> At the moment I'm sticking with the old cygwin, because the gcc upgrade
> is more important to me than the cygwin upgrade. Is there some way I'm
> missing to select both, or do I just have to accept that I can't upgrade
> anything else until the official gcc 4.5 is ready?

Stay on the 'Curr' (not 'Exp'), click 'View' until you are on the
Pending page, then cycle on the string next to each gcc package until it
says Keep instead of the downgraded version number.

Yes, it's a known pain that setup.exe tries too hard to downgrade
experimental packages.  I still remember the pain of the couple of years
during cygwin 1.5 days where the only working emacs was marked
experimental, and I had to go through this exercise of manually
requesting that it not be downgraded every time I ran setup.exe for
anything else.  Patches welcome.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 619 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Upgrading to cygwin 1.7.6 vs gcc 4.5
  2010-08-17 23:10 ` Eric Blake
@ 2010-08-18  5:25   ` Andy Koppe
  2010-08-18 20:20     ` Andy Koppe
  0 siblings, 1 reply; 5+ messages in thread
From: Andy Koppe @ 2010-08-18  5:25 UTC (permalink / raw)
  To: cygwin

On 18 August 2010 00:09, Eric Blake wrote:
> On 08/17/2010 04:54 PM, Ross Smith wrote:
>> I've installed the experimental gcc 4.5 packages (because that's the
>> version I'm using in all my other development environments, and it's
>> nice not to have to target multiple compiler versions any more), but now
>> that cygwin dll 1.7.6 is out, I can't seem to find a way to upgrade
>> cygwin without also downgrading gcc. In the installer, if I select
>> Current I get the new cygwin but the old gcc, while if I select
>> Experimental, it keeps the new gcc but doesn't offer me the new cygwin.
>>
>> At the moment I'm sticking with the old cygwin, because the gcc upgrade
>> is more important to me than the cygwin upgrade. Is there some way I'm
>> missing to select both, or do I just have to accept that I can't upgrade
>> anything else until the official gcc 4.5 is ready?
>
> Stay on the 'Curr' (not 'Exp'), click 'View' until you are on the
> Pending page, then cycle on the string next to each gcc package until it
> says Keep instead of the downgraded version number.

I'd recommend selecting the 'Exp' button actually. That ensures that
all dependencies of gcc, e.g. libgcc and libffi, are upgraded to 4.5
too. (It's yet another flaw of setup.exe that it doesn't automatically
upgrade dependencies of experimental versions accordingly.)

Of course this also selects experimental versions of a few other
packages, e.g. emacs, but if you don't want to help testing those, you
can downgrade them on the Pending page.

Andy

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Upgrading to cygwin 1.7.6 vs gcc 4.5
  2010-08-18  5:25   ` Andy Koppe
@ 2010-08-18 20:20     ` Andy Koppe
  2010-08-27 18:28       ` Andy Koppe
  0 siblings, 1 reply; 5+ messages in thread
From: Andy Koppe @ 2010-08-18 20:20 UTC (permalink / raw)
  To: cygwin

On 18 August 2010 06:25, Andy Koppe wrote:
> On 18 August 2010 00:09, Eric Blake wrote:
>> On 08/17/2010 04:54 PM, Ross Smith wrote:
>>> I've installed the experimental gcc 4.5 packages (because that's the
>>> version I'm using in all my other development environments, and it's
>>> nice not to have to target multiple compiler versions any more), but now
>>> that cygwin dll 1.7.6 is out, I can't seem to find a way to upgrade
>>> cygwin without also downgrading gcc. In the installer, if I select
>>> Current I get the new cygwin but the old gcc, while if I select
>>> Experimental, it keeps the new gcc but doesn't offer me the new cygwin.
>>>
>>> At the moment I'm sticking with the old cygwin, because the gcc upgrade
>>> is more important to me than the cygwin upgrade. Is there some way I'm
>>> missing to select both, or do I just have to accept that I can't upgrade
>>> anything else until the official gcc 4.5 is ready?
>>
>> Stay on the 'Curr' (not 'Exp'), click 'View' until you are on the
>> Pending page, then cycle on the string next to each gcc package until it
>> says Keep instead of the downgraded version number.
>
> I'd recommend selecting the 'Exp' button actually. That ensures that
> all dependencies of gcc, e.g. libgcc and libffi, are upgraded to 4.5
> too. (It's yet another flaw of setup.exe that it doesn't automatically
> upgrade dependencies of experimental versions accordingly.)

Scratch that. I hadn't realised that if you select 'Exp',
non-experimental packages no longer get updated, which of course is
exactly what the OP was saying. This is awful.

Andy

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Upgrading to cygwin 1.7.6 vs gcc 4.5
  2010-08-18 20:20     ` Andy Koppe
@ 2010-08-27 18:28       ` Andy Koppe
  0 siblings, 0 replies; 5+ messages in thread
From: Andy Koppe @ 2010-08-27 18:28 UTC (permalink / raw)
  To: cygwin

On 18 August 2010 21:19, Andy Koppe wrote:
> On 18 August 2010 06:25, Andy Koppe wrote:
>> On 18 August 2010 00:09, Eric Blake wrote:
>>> On 08/17/2010 04:54 PM, Ross Smith wrote:
>>>> I've installed the experimental gcc 4.5 packages (because that's the
>>>> version I'm using in all my other development environments, and it's
>>>> nice not to have to target multiple compiler versions any more), but now
>>>> that cygwin dll 1.7.6 is out, I can't seem to find a way to upgrade
>>>> cygwin without also downgrading gcc. In the installer, if I select
>>>> Current I get the new cygwin but the old gcc, while if I select
>>>> Experimental, it keeps the new gcc but doesn't offer me the new cygwin.
>>>>
>>>> At the moment I'm sticking with the old cygwin, because the gcc upgrade
>>>> is more important to me than the cygwin upgrade. Is there some way I'm
>>>> missing to select both, or do I just have to accept that I can't upgrade
>>>> anything else until the official gcc 4.5 is ready?
>>>
>>> Stay on the 'Curr' (not 'Exp'), click 'View' until you are on the
>>> Pending page, then cycle on the string next to each gcc package until it
>>> says Keep instead of the downgraded version number.
>>
>> I'd recommend selecting the 'Exp' button actually. That ensures that
>> all dependencies of gcc, e.g. libgcc and libffi, are upgraded to 4.5
>> too. (It's yet another flaw of setup.exe that it doesn't automatically
>> upgrade dependencies of experimental versions accordingly.)
>
> Scratch that. I hadn't realised that if you select 'Exp',
> non-experimental packages no longer get updated, which of course is
> exactly what the OP was saying.

This should be fixed in the newly uploaded setup.exe 2.721.

Andy

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-08-27 18:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-17 22:54 Upgrading to cygwin 1.7.6 vs gcc 4.5 Ross Smith
2010-08-17 23:10 ` Eric Blake
2010-08-18  5:25   ` Andy Koppe
2010-08-18 20:20     ` Andy Koppe
2010-08-27 18:28       ` Andy Koppe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).