Mercurial > hg > octave-nkf > gnulib-hg
changeset 6962:e33f191db3d6
2006-07-14 Simon Josefsson <jas@extundo.com>
* gnulib.texi (Libtool and Windows): New section.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Fri, 14 Jul 2006 09:32:13 +0000 |
parents | dc95a3d30fae |
children | 3eaadc954ec8 |
files | doc/ChangeLog doc/gnulib.texi |
diffstat | 2 files changed, 30 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2006-07-14 Simon Josefsson <jas@extundo.com> + + * gnulib.texi (Libtool and Windows): New section. + 2006-07-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * functions.texi, gnulib-tool.texi, gnulib.texi: Fix some typos.
--- a/doc/gnulib.texi +++ b/doc/gnulib.texi @@ -1,5 +1,5 @@ \input texinfo @c -*-texinfo-*- -@comment $Id: gnulib.texi,v 1.24 2006-07-10 06:37:33 rwild Exp $ +@comment $Id: gnulib.texi,v 1.25 2006-07-14 09:32:13 jas Exp $ @comment %**start of header @setfilename gnulib.info @settitle GNU Gnulib @@ -7,7 +7,7 @@ @syncodeindex pg cp @comment %**end of header -@set UPDATED $Date: 2006-07-10 06:37:33 $ +@set UPDATED $Date: 2006-07-14 09:32:13 $ @copying This manual is for GNU Gnulib (updated @value{UPDATED}), @@ -90,6 +90,7 @@ * Library version handling:: * Regular expressions:: * Windows sockets:: +* Libtool and Windows:: @end menu @@ -327,6 +328,29 @@ getaddrinfo symbol and use it if present, otherwise fall back to our own implementation. +@node Libtool and Windows +@section 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: + +@example +AC_LIBTOOL_WIN32_DLL +@end example + +in your @file{configure.ac}. + +The effect of this is that the names of the @code{OBJDUMP}, +@code{DLLTOOL}, and @code{AS} tools are set up correct. + +If you are building a library, you will also need to pass +@code{-no-undefined} to make sure Libtool produce a DLL for your +library. From a @file{Makefile.am}: + +@example +libgsasl_la_LDFLAGS += -no-undefined +@end example + @include gnulib-tool.texi