Re: [Fink-devel] libtool and dynamic libraries

2004-08-24 Thread Peter O'Gorman
Alexander Strange wrote: gcc is calling the right libtool. I'm not sure why it doesn't recognize -bind_at_load or -Wl,-bind-at-load, but it's possible dylibs ignore that flag in the first place. -Wl,-bind_at_load should work fine, gcc used to silently swallow -bind_at_load and not pass it on to

Re: [Fink-devel] libtool and dynamic libraries

2004-08-24 Thread Alexander Strange
On Aug 24, 2004, at 7:44 PM, Dale Grover wrote: One key seems to be which "libtool" is in fact used; once I learn how to change what libtool is called by gcc, it should be clearer. (A previous reply suggests this would be a good path, but I'm unclear on the process.) At the moment the Apple li

Re: [Fink-devel] libtool and dynamic libraries

2004-08-24 Thread Dale Grover
At 11:28 PM +0200 8/24/04, Martin Costabel wrote: Dale Grover wrote: I am trying to get the most recent source for "xcircuit" (3.2.23) to run, so that hopefully the Fink package can be updated to a more recent version. (xcircuit is a schematic entry / drawing program.) In brief, I *seem* to be

Re: [Fink-devel] libtool and dynamic libraries

2004-08-24 Thread Martin Costabel
Dale Grover wrote: I am trying to get the most recent source for "xcircuit" (3.2.23) to run, so that hopefully the Fink package can be updated to a more recent version. (xcircuit is a schematic entry / drawing program.) In brief, I *seem* to be running into a problem with libtool. During the

Re: [Fink-devel] libtool and dynamic libraries

2004-08-24 Thread Dale Grover
Thank you for the suggestion. I'm not seeing a CompileScript in the flow here. Is this variable set in configure.in (or Makefile.am)? There is also a comment, possibly old, at http://fink.sourceforge.net/doc/porting/libtool.php?phpLang=en "Side note: Apple's Developer Tools contain a program a

Re: [Fink-devel] libtool and dynamic libraries

2004-08-24 Thread Michal 'hramrach' Suchanek
On Mon, Aug 23, 2004 at 12:52:42PM -0400, Dale Grover wrote: > I am trying to get the most recent source for "xcircuit" (3.2.23) to > run, so that hopefully the Fink package can be updated to a more > recent version. (xcircuit is a schematic entry / drawing program.) > > In brief, I *seem* to b

Re: [Fink-devel] libtool and dynamic libraries

2004-08-23 Thread Dave Vasilevsky
Hi Dale, Have you tried passing -Wl,-bind_at_load ? By the way, if you pass -v -v to gcc, it will show you the libtool and ld commands it's running, so you can examine what's going wrong. Dave PGP.sig Description: This is a digitally signed message part

[Fink-devel] libtool and dynamic libraries

2004-08-23 Thread Dale Grover
I am trying to get the most recent source for "xcircuit" (3.2.23) to run, so that hopefully the Fink package can be updated to a more recent version. (xcircuit is a schematic entry / drawing program.) In brief, I *seem* to be running into a problem with libtool. During the final link stage I