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
From: Martin Wolters <wol@codingtechnologies.com>
Organization: Coding Technologies
To: <cygwin@cygwin.com>
Subject: Re: GCC-3.2 problem: undefined ___gxx_personality_v0
Date: Wed, 5 Mar 2003 17:30:58 +0100
User-Agent: KMail/1.5
References: <157240-22003335151848272@M2W097.mail2web.com> <200303051712.22830.wol@codingtechnologies.com> <007801c2e332$ee841a20$78d96f83@pomello>
In-Reply-To: <007801c2e332$ee841a20$78d96f83@pomello>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200303051730.58213.wol@codingtechnologies.com>

On Wednesday 05 March 2003 17:19, Max Bowsher wrote:
> Martin Wolters wrote:
> > On Wednesday 05 March 2003 16:18, lhall@pop.ma.ultranet.com wrote:
> >> OK.  And that file contains only C code?
> >
> > That's a good question. I thought so and I still think so. However, I
> > just tried "g++ myCFile.c" and it compiles like a charm!!
> >
> > Well, maybe I can find the code that breaks the gcc-build. And if it
> > turns out to be a valid c-construct I'll send the requested
> > informationen. But for now I at least have a "workaround".
>
> foo.C means C++. Could your file extension be uppercase accidentally?

Now that is interesting and it actually is the cause of all troubles. My file 
is really called "MYCFILE.C". Renaming it (mycfile.c) and then using gcc 
mycfile.c works perfectly. 

I didn't now the upper-case C rule. Is that gcc-specific?

Anyhow, thanks so much.

-M




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

