Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <425A2B7B.4B4897DF@dessent.net>
Date: Mon, 11 Apr 2005 00:47:07 -0700
From: Brian Dessent <brian@dessent.net>
Organization: My own little world...
MIME-Version: 1.0
To: "'Cygwin List'" <cygwin@cygwin.com>
Subject: Re: Problem running xgettext after compiling gettext 0.14.1 with gcc 3.3.3
References: <10108bf5d5cd3712cac9facd5dd4ad1a@rehley.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com

Peter Rehley wrote:

> "The application failed to initialize properly (0xc0000005). Click on
> OK to terminate the application."

My money is on this:
<http://sources.redhat.com/ml/cygwin/2004-09/msg01101.html>.  Newer gccs
try to put const data in .rdata section, but this fails if one of those
"const" datums is actually a pointer that needs runtime fixup by windows
loader.  The best solution at the moment seems to be to hunt down and
remove instances of const data structures that contain pointers and
remove the const keyword.

Brian

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

