libtool-patches
[Top][All Lists]
Advanced

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

Re: Some fixes for cygwin


From: Charles Wilson
Subject: Re: Some fixes for cygwin
Date: Fri, 03 May 2002 10:29:55 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2

Oops.  Missed a few in that last patch:

2002-05-03  Charles Wilson  <address@hidden>

        * tests/pdemo-inst.test: use hell_static instead
        of hell.static
        * tests/pdemo-exec.test: ditto

--Chuck

Charles Wilson wrote:

2002-05-03  Charles Wilson  <address@hidden>

    * libtool.m4: use $NM to create the symbol list on cygwin, not
    $ltdll_cmds as on mingw.  For all tags, (and host=cygwin) set
    allow_undefined_flag="" so that the --auto-import magic
    works properly.  For all tags (and host=cygiwn) set
    always_export_symbols=no -- it is unnecessary thanks to
    binutils' auto-export magic.
    * libltdl/ltdl.c: Don't force cygwin to use the LoadLibrary
    wrapper; use cygwin's builtin implementatino of dl*.
    * cdemo/Makefile.am: the downside of unsetting
    'allow_undefined_flag' -- we must include -no-undefined
    in the _la_LDFLAGS variable.
    * depdemo/l1/Makefile.am: ditto
    * depdemo/l2/Makefile.am: ditto
    * depdemo/l3/Makefile.am: ditto
    * depdemo/l4/Makefile.am: ditto
    * mdemo/Makefile.am: ditto
    * tagdemo/Makefile.am: ditto
    * demo/Makefile.am: ditto.  But also, we must make special
    provision to clean up the hell0 wrapper script.
    * pdemo/Makefile.am: ditto -no-undefined.  ditto hell0.
    And use 'hell_static' instead of 'hell.static'

    * demo/configure.ac: use -all-static, not -static.
    * depdemo/configure.ac: ditto
    * mdemo/configure.ac: ditto
    * pdemo/configure.ac: ditto

Index: pdemo-exec.test
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/pdemo-exec.test,v
retrieving revision 1.2
diff -u -r1.2 pdemo-exec.test
--- pdemo-exec.test     6 Jun 2001 14:53:29 -0000       1.2
+++ pdemo-exec.test     3 May 2002 14:21:54 -0000
@@ -20,9 +20,9 @@
 echo "Executing uninstalled programs in ../pdemo"
 
 status=0
-if ../pdemo/hell.static| grep 'Welcome to GNU Hell'; then :
+if ../pdemo/hell_static| grep 'Welcome to GNU Hell'; then :
 else
-  echo "$0: cannot execute ../pdemo/hell.static" 1>&2
+  echo "$0: cannot execute ../pdemo/hell_static" 1>&2
   status=1
 fi
 
Index: pdemo-inst.test
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/pdemo-inst.test,v
retrieving revision 1.2
diff -u -r1.2 pdemo-inst.test
--- pdemo-inst.test     6 Jun 2001 14:53:29 -0000       1.2
+++ pdemo-inst.test     3 May 2002 14:21:54 -0000
@@ -25,9 +25,9 @@
 
 echo "= Executing installed programs"
 status=0
-if $prefix/bin/hell.static | grep 'Welcome to GNU Hell'; then :
+if $prefix/bin/hell_static | grep 'Welcome to GNU Hell'; then :
 else
-  echo "$0: cannot execute $prefix/bin/hell.static" 1>&2
+  echo "$0: cannot execute $prefix/bin/hell_static" 1>&2
   status=1
 fi
 

reply via email to

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