libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MS lib program in msys


From: Ralf Wildenhues
Subject: Re: MS lib program in msys
Date: Sun, 21 Jan 2007 17:15:55 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Howard, Chris,

apologies for the delay.

* Howard Chu wrote on Mon, Jan 08, 2007 at 08:45:21PM CET:
> 
> Pretty sure "-" has been valid since at least Win95. Definitely this 
> should be changed.

OK, on my rather oldish installation it seems to work as well.
I have applied the patches below.

Cheers,
Ralf

HEAD:
2007-01-21  Ralf Wildenhues  <address@hidden>

        * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin, mingw]:
        Use `lib -OUT' rather than `lib /OUT' to avoid MSYS path
        translation mangling.  Report by Christopher Hulbert.
        * THANKS: Update.

Index: THANKS
===================================================================
RCS file: /cvsroot/libtool/libtool/THANKS,v
retrieving revision 1.56
diff -u -r1.56 THANKS
--- THANKS      14 May 2006 08:20:11 -0000      1.56
+++ THANKS      21 Jan 2007 16:14:01 -0000
@@ -75,6 +75,7 @@
   Carl D. Roth                 address@hidden
   Chris P. Ross                        address@hidden
   Christian Biesinger          address@hidden
+  Christopher Hulbert          address@hidden
   Dalibor Topic                        address@hidden
   Daniel Reed                  address@hidden
   DJ Delorie                   address@hidden
Index: libltdl/m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v
retrieving revision 1.86
diff -u -r1.86 libtool.m4
--- libltdl/m4/libtool.m4       19 Oct 2006 05:06:14 -0000      1.86
+++ libltdl/m4/libtool.m4       21 Jan 2007 16:12:29 -0000
@@ -1,7 +1,7 @@
 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
 #
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-# 2006 Free Software Foundation, Inc.
+# 2006, 2007 Free Software Foundation, Inc.
 #
 # This file is part of GNU Libtool:
 # Originally by Gordon Matzigkeit <address@hidden>, 1996
@@ -12,7 +12,7 @@
 
 m4_define([_LT_COPYING], [dnl
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-# 2006 Free Software Foundation, Inc.
+# 2006, 2007 Free Software Foundation, Inc.
 #
 # This file is part of GNU Libtool:
 # Originally by Gordon Matzigkeit <address@hidden>, 1996
@@ -587,7 +587,7 @@
 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
 configured by $[0], generated by m4_PACKAGE_STRING.
 
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) 2007 Free Software Foundation, Inc.
 This config.lt script is free software; the Free Software Foundation
 gives unlimited permision to copy, distribute and modify it."
 
@@ -4466,7 +4466,7 @@
       # The linker will automatically build a .lib file if we build a DLL.
       _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
       # FIXME: Should let the user specify the lib program.
-      _LT_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
+      _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
       _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
       ;;

branch-1-5:
2007-01-21  Ralf Wildenhues  <address@hidden>

        * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [cygwin, mingw]:
        Use `lib -OUT' rather than `lib /OUT' to avoid MSYS path
        translation mangling.  Report by Christopher Hulbert.
        * THANKS: Update.

Index: THANKS
===================================================================
RCS file: /cvsroot/libtool/libtool/THANKS,v
retrieving revision 1.34.2.19
diff -u -r1.34.2.19 THANKS
--- THANKS      14 May 2006 08:21:23 -0000      1.34.2.19
+++ THANKS      21 Jan 2007 16:13:47 -0000
@@ -75,6 +75,7 @@
   Carl D. Roth                 address@hidden
   Chris P. Ross                        address@hidden
   Christian Biesinger          address@hidden
+  Christopher Hulbert          address@hidden
   Dalibor Topic                        address@hidden
   Daniel Reed                  address@hidden
   DJ Delorie                   address@hidden
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.166
diff -u -r1.314.2.166 libtool.m4
--- libtool.m4  19 Oct 2006 05:05:55 -0000      1.314.2.166
+++ libtool.m4  21 Jan 2007 16:13:28 -0000
@@ -1,5 +1,5 @@
 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
-## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006
+## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007
 ## Free Software Foundation, Inc.
 ## Originally by Gordon Matzigkeit <address@hidden>, 1996
 ##
@@ -4305,7 +4305,7 @@
 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 #
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 
2006
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 
2006, 2007
 # Free Software Foundation, Inc.
 #
 # This file is part of GNU Libtool:
@@ -5947,7 +5947,7 @@
       # The linker will automatically build a .lib file if we build a DLL.
       _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
       # FIXME: Should let the user specify the lib program.
-      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib 
/OUT:$oldlib$oldobjs$old_deplibs'
+      _LT_AC_TAGVAR(old_archive_cmds, $1)='lib 
-OUT:$oldlib$oldobjs$old_deplibs'
       _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
       _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
       ;;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]