delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/09/23:56:46

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <009a01c19993$9f595a80$010b10ac@bluesguitar.org>
From: "Matthew Smith" <matts AT bluesguitar DOT org>
To: "Cygwin" <cygwin AT sources DOT redhat DOT com>
References: <1ZTTO4163XWA9NJ85GDJDA41WUNM83 DOT 3c3d1b01 AT incognito>
Subject: Re: Having a bad time with g++ under cygwin
Date: Wed, 9 Jan 2002 22:59:45 -0600
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Try linking with g++ instead of ld.

cheers,
-Matt


> I'm getting extremely frustrated trying to get my code to build with g++
2.95.3-5 (ld 2.11.92) under
> the latest cygwin (1.3.6 I think) on a Win2K platform. Attached is the
(edited) output of my build.
> Basically I build a bunch of object files from C++ source, build a library
from them, then build a
> C++ test program and try to link it with that library. During linking I
get tons of "multiple definition"
> errors with symbols that are created by my code and then even more
"undefined references" to
> all kinds of symbols that should be built into Windows.
>
> Can someone set me straight here? I just know I'm doing something
incredibly stupid.
>
> thanx & later,
>
> Ben Scherrey




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

- Raw text -


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