libtool on Darwin

2002-10-14 Thread F J Franklin
Further to my last posting... Having spent the weekend pre-binding libraries with the aid of libtool, only to discover that the X11 libs aren't prebound (hear me growl)... :-) patch attached, though I'm not recommending it for inclusion into CVS - it's more by way of an FYI: here's the libtool

Re: [Mingw-msys] Re: MinGW libtool DLL failure

2002-10-14 Thread Robert Boehne
All, The max_cmd_len variable is used to determine how long a command can be executed. When Libtool generates a link command that is longer than this, it breaks the command into successive ld -r invocations that are just short enough to be executed. There are other parts of the commands that

Re: [Mingw-msys] Re: MinGW libtool DLL failure

2002-10-14 Thread Bob Friesenhahn
On Mon, 14 Oct 2002, Robert Boehne wrote: It is true that the checking takes some time, ~three seconds on a newer Sun workstation (with large limit), but it isn't clear to me why it would take even longer under MinGW. Unfortunately MinGW must run under an inferior OS, particularly Windows

Re: [Mingw-msys] Re: MinGW libtool DLL failure

2002-10-14 Thread Earnie Boyd
Well, shouldn't both use $(bindir) to install the dll into? Earnie. Bob Friesenhahn wrote: What directory should MinGW DLLs be installed in? Cygwin installs using the offset ../bin from the directory where the .dll.a file is installed. Should libtool behave the same way under MinGW?

Re: [Mingw-msys] Re: MinGW libtool DLL failure

2002-10-14 Thread Bob Friesenhahn
On Mon, 14 Oct 2002, Earnie Boyd wrote: Well, shouldn't both use $(bindir) to install the dll into? What would be nice except that I don't believe libtool is provided with this information at run-time. It acts like a traditional install program. The Cygwin folks are using the ../bin trick to

Re: [Mingw-msys] Re: MinGW libtool DLL failure

2002-10-14 Thread Max Bowsher
Bob Friesenhahn wrote: On Mon, 14 Oct 2002, Earnie Boyd wrote: Well, shouldn't both use $(bindir) to install the dll into? What would be nice except that I don't believe libtool is provided with this information at run-time. It acts like a traditional install program. The Cygwin folks

Re: [Mingw-msys] Re: MinGW libtool DLL failure

2002-10-14 Thread Bob Friesenhahn
On Mon, 14 Oct 2002, Max Bowsher wrote: I floated an idea on how to get around that: Adjust the libtool invocation command (as determined in libtool.m4) to be libtool --bindir=$(bindir) (or perhaps with appropriate quoting). The idea being that when used from an autoconf-based makefile (is it

make DLL import library for an executable?

2002-10-14 Thread Bryce Denney
Hi. I'm trying to use libtool in cygwin to make plugins for the Bochs x86 Emulator project. I want to build the executable with exported symbols, and then build DLLs (plugins) that automatically import those symbols when the plugin is loaded. To do this, I plan to first build the executable