Re: [Fink-devel] Need help to compile plugins

2005-12-29 Thread David R. Morrison
On Dec 28, 2005, at 3:53 PM, Peter O'Gorman wrote: GNU libtool will behave differently should libtool-2.0 ever be released (there will be libfoo.dylib and libfoo.X.dylib, removing a redundant symlink, and libraries will, by default, link - single_module). Hooray!! -- Dave

Re: [Fink-devel] Need help to compile plugins

2005-12-28 Thread Michèle Garoche
Le 27 déc. 2005 à 14:52, Martin Costabel a écrit : Michèle Garoche wrote: I try to compile a package which constructs three plugins during the compilation. [] $(PLUGIN): $(OBJECTS) $(LIBTOOL) --mode=link $(CC) -module $(LIBS) -shared -o $@ $ (LOBJECTS) What happens if you remove the

Re: [Fink-devel] Need help to compile plugins

2005-12-28 Thread Martin Costabel
Michèle Garoche wrote: Le 27 déc. 2005 à 14:52, Martin Costabel a écrit : [] What happens if you remove the -shared from this line? It does not change anything, apart that it does not tell that -shared is undefined of course. Libtool should recognize the -module flag and translate it to

Re: [Fink-devel] Need help to compile plugins

2005-12-28 Thread Michèle Garoche
Le 28 déc. 2005 à 10:27, Martin Costabel a écrit : Michèle Garoche wrote: Le 27 déc. 2005 à 14:52, Martin Costabel a écrit : [] What happens if you remove the -shared from this line? It does not change anything, apart that it does not tell that - shared is undefined of course. Libtool

Re: [Fink-devel] Need help to compile plugins

2005-12-28 Thread Peter O'Gorman
On Dec 27, 2005, at 1:52 PM, Martin Costabel wrote: -Wl,-bind_at_load -flat_namespace -undefined suppress -bundle If you want to have a two-level image (and don't get an answer from pogma explaining how to talk to libtool in its native language), you can replace the -module -shared simply

[Fink-devel] Need help to compile plugins

2005-12-27 Thread Michèle Garoche
I try to compile a package which constructs three plugins during the compilation. An example of a typical Makefile.in for the plugin is: PLUGIN=about.so PLUGINDIR=${pkglibdir} OBJECTS= about.o LOBJECTS = $(OBJECTS:.o=.lo) $(PLUGIN): $(OBJECTS) $(LIBTOOL) --mode=link $(CC) -module

Re: [Fink-devel] Need help to compile plugins

2005-12-27 Thread Martin Costabel
Michèle Garoche wrote: I try to compile a package which constructs three plugins during the compilation. [] $(PLUGIN): $(OBJECTS) $(LIBTOOL) --mode=link $(CC) -module $(LIBS) -shared -o $@ $(LOBJECTS) What happens if you remove the -shared from this line? Libtool should recognize the