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 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: C++ link error: undefined reference to `___gxx_personality_v0` X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Date: Wed, 23 Oct 2002 09:35:26 +1000 Message-ID: <4A133BBC82A97C42A9CC3BB41C4620CA4DB1B6@sydmxs01.salmat.com.au> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Ken Foskey" To: Reply-To: Note-from-DJ: This may be spam Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g9MNZnY05342 I just updated cygwin and it updated to gcc 3.2.1. I now have alinker error. The default linker is gcc as in: gcc ondreprt.o -o ondreprt ondreprt.o(.eh_frame+0x11):ondreprt.cpp: undefined reference to `___gxx_personality_v0' collect2: ld returned 1 exit status make: *** [ondreprt] Error 1 When compiling C++ you need the default linker to be g++ as in: $ make g++ ondreprt.o -o ondreprt $ Can the default linker in the make files be changed to g++ by default? Thanks KenF ************************************************************************************** This e-mail and any files transmitted with it are confidential to Salmat Pty Ltd intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please return to the sender and delete from your systems. This e-mail message has been swept for the presence of computer viruses known to Salmat's virus patterns. Salmat Pty Ltd ACN 066 833 458 ************************************************************************************** -- 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/