delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/03/16:55:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <79218202D4B9D4118A290002A508E13B79C3E6@PNZEXCHANGE>
From: Ross Smith <rosss AT pharos DOT co DOT nz>
To: "'Brian R. Gaeke'" <gaeke AT uiuc DOT edu>, cygwin AT cygwin DOT com
Subject: RE: ld -r errors with C++ objects
Date: Mon, 4 Aug 2003 08:55:56 +1200
MIME-Version: 1.0

> From: Brian R. Gaeke [mailto:gaeke AT uiuc DOT edu]
> 
> When I link two particular .o files together into a new relocatable
> (using ld -r) I get errors from ld, instead of a new .o file. This
> happens in many of our C++ projects, but only on Cygwin. I have
> reduced the test cases significantly.

ld doesn't speak C++. Use g++ to link C++ modules.

Ross Smith ...................... Pharos Systems, Auckland, New Zealand

           "Remember when we told you there was no future?
                   Well, this is it." -- Blank Reg

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019