Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <001201c2e336$d63f5890$78d96f83@pomello> From: "Max Bowsher" To: "Martin Wolters" , References: <157240-22003335151848272 AT M2W097 DOT mail2web DOT com> <200303051712 DOT 22830 DOT wol AT codingtechnologies DOT com> <007801c2e332$ee841a20$78d96f83 AT pomello> <200303051730 DOT 58213 DOT wol AT codingtechnologies DOT com> Subject: Re: GCC-3.2 problem: undefined ___gxx_personality_v0 Date: Wed, 5 Mar 2003 16:46:57 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Martin Wolters wrote: > On Wednesday 05 March 2003 17:19, Max Bowsher wrote: >> Martin Wolters wrote: >>> On Wednesday 05 March 2003 16:18, lhall AT pop DOT ma DOT ultranet DOT 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? I found this by googling on "C cpp c++ cxx cc": Compiler possible endings GNU compiler g++ C cc cpp cxx c++ Watcom C++ -- cc cpp cxx c++ Borland C++ -- cc cpp cxx c++ SGI compiler CC C cc cpp cxx c++ DEC compiler cxx C cc cpp cxx -- Max. -- 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/