[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Compile: Windows and python
From: |
Jim Segrave |
Subject: |
Re: [Bug-gnubg] Compile: Windows and python |
Date: |
Fri, 15 Aug 2003 22:04:39 +0200 |
User-agent: |
Mutt/1.4.1i |
On Fri 15 Aug 2003 (21:04 +0200), Holger wrote:
> At 23:21 14.08.2003 +0200, Nardy Pillards wrote:
> >Just a guess: change the order of the libs ?
> >
> >This is mine for the no-gui (yep, gtk not needed there, i know):
> >
> >LIBS = $(LIBPATH) -levent -lxml2 -lintl.dll -lgdbm.dll \
> > -lglib-2.0.dll -lgdk.dll -lgtk.dll -liconv -lpng -lz \
> > -lreadline -lpython22 -lwsock32 -lwinmm -lm
> >
> >with lwinmm and lm as closing libraries.
>
> No, I even tried, but it would've been very strange if the order of any
> library should matter.
Just as a point, it can matter. If two libraries define a global with
the same name, then the one linked in will depend on the linker and
the order in which the libraries are named. Generally, I believe most
linkers will use the first definition encountered (and I'll bet Posix
specifies what should happen)
--
Jim Segrave address@hidden