Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 12 Oct 2004 21:36:41 +0200
From: "Gerrit P. Haase" <gp@familiehaase.de>
Reply-To: "Gerrit @ cygwin" <cygwin@cygwin.com>
Organization: Esse keine toten Tiere
Message-ID: <624524850.20041012213641@familiehaase.de>
To: "Judd" <jbogus1@yahoo.com>
CC: cygwin@cygwin.com
Subject: Re: building with G++ 3.3.3
In-Reply-To: <ckh784$idt$1@sea.gmane.org>
References: <ckh784$idt$1@sea.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Hallo Judd,

Am Dienstag, 12. Oktober 2004 um 20:19 schriebst du:

> I'm trying to port OpenInventor freeware over to cygwin and I'm having some
> problems with the linkage.  When trying to build the DLL, I'm coming up with
> some errors I'm having a hard time trying to get around.

> g++ -shared -o libInventor.dll -Wl,--out-implib=libInventor.dll.a \
> -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive \
>         ./stub.o \
>         ./database/src/sb/projectors/SbProjectors.o \
>         ./database/src/sb/Sb.o \... (more object files)

-Wl,--no-whole-archive

>  -L/usr/lib -L/usr/X11R6/lib -L../libimage -L../libFL/src -ljpeg.dll -limage
>  -lFL -lX11 -lGLU -lGL -liconv -lfreetype

> The errors I'm getting are mostly errors where a function is defined in 2
> places... but almost all of them (except the first few) are in the SAME
> library (libgcc.a).  Does anybody have a solution to this problem?

> Here's a sample of some of the build errors:
[...snip...]


Gerrit
-- 
=^..^=



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

