This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Having a bad time with g++ under cygwin
- From: "Matthew Smith" <matts at bluesguitar dot org>
- To: "Cygwin" <cygwin at sources dot redhat dot com>
- Date: Wed, 9 Jan 2002 22:59:45 -0600
- Subject: Re: Having a bad time with g++ under cygwin
- References: <1ZTTO4163XWA9NJ85GDJDA41WUNM83.3c3d1b01@incognito>
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/