[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Libtool and Windows
From: |
Derek R. Price |
Subject: |
Re: Libtool and Windows |
Date: |
Wed, 19 Jul 2006 11:19:26 -0400 |
User-agent: |
Thunderbird 1.5.0.4 (Windows/20060516) |
Mind if I install the attached patch on top of this?
2006-07-19 Derek R. Price <address@hidden>
* gnulib.texi (Libtool and Windows): Eliminate passive voice.
Correct grammar.
Simon Josefsson wrote:
> I installed this new section in the manual.
>
> /Simon
>
> 1.11 Libtool and Windows
> ========================
>
> If you want it to be possible to cross-compile your program to MinGW
> and you use Libtool, you need to put:
>
> AC_LIBTOOL_WIN32_DLL
>
> in your `configure.ac'.
>
> The effect of this is that the names of the `OBJDUMP', `DLLTOOL',
> and `AS' tools are set up correct.
>
> If you are building a library, you will also need to pass
> `-no-undefined' to make sure Libtool produce a DLL for your library.
>>From a `Makefile.am':
>
> libgsasl_la_LDFLAGS += -no-undefined
>
>
--
Derek R. Price
CVS Solutions Architect
Get CVS support at Ximbiot <http://ximbiot.com>!
v: +1 248.835.1260
f: +1 248.835.1263
<mailto:address@hidden>
Index: doc/gnulib.texi
===================================================================
RCS file: /cvsroot/gnulib/gnulib/doc/gnulib.texi,v
retrieving revision 1.25
diff -u -p -r1.25 gnulib.texi
--- doc/gnulib.texi 14 Jul 2006 09:32:13 -0000 1.25
+++ doc/gnulib.texi 19 Jul 2006 15:15:41 -0000
@@ -338,13 +338,11 @@ and you use Libtool, you need to put:
AC_LIBTOOL_WIN32_DLL
@end example
-in your @file{configure.ac}.
-
-The effect of this is that the names of the @code{OBJDUMP},
address@hidden, and @code{AS} tools are set up correct.
+in your @file{configure.ac}. This sets the correct names for the
address@hidden, @code{DLLTOOL}, and @code{AS} tools for the build.
If you are building a library, you will also need to pass
address@hidden to make sure Libtool produce a DLL for your
address@hidden to make sure Libtool produces a DLL for your
library. From a @file{Makefile.am}:
@example