Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject: RE: cygwin gcc failure
Date: Thu, 18 Mar 2004 16:38:00 -0500
Message-ID: <C1A7FA5F2793A94BA223673B8ADAF4A1C9890A@exchange.atl.air2web.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
From: "Richard Campbell" <richard.campbell@air2web.com>
To: <cygwin@cygwin.com>
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i2ILcABP006138

>The symptom is pretty straight forward, on a straight command line of:
>
>gcc foo.c
>
>I get a pop up and a system log message which says:
>
>Application popup: cc1.exe - Application Error : The application failed 
>to initialize properly (0xc0000022). Click on OK to terminate the 
>application.

Try running cc1.exe and see if you get something like:

c:\cygwin\bin> bash
      6 [main] ? 3816 init_cheap: Couldn't reserve space for cygwin's heap,
Win32 error 487
c:\cygwin\bin\bash.exe (3816): *** AllocationBase 0x0, BaseAddress
0x616E0000, RegionSize 0x1AA0000, State 0x10000

(replace bash with cc1)

If yes, read:

http://cygwin.com/ml/cygwin/2004-02/msg01080.html

http://cygwin.com/ml/cygwin/2004-02/msg01382.html

http://cygwin.com/ml/cygwin/2004-03/msg00849.html

And ultimately, try a snapshot - http://cygwin.com/snapshots

-Richard Campbell.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


