]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: Revert to stripping .exe on all platforms.
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Wed, 26 May 1999 00:00:40 +0000 (00:00 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Wed, 26 May 1999 00:00:40 +0000 (00:00 +0000)
* TODO: Note about this problem.  Demo is fixed on win32.  -Wl and
-Wc are implemented for release 1.4.  Support `empty' convenience
libraries.

ChangeLog
TODO
ltmain.in

index 0061668f695128599cd04084621ff3febf30a72e..edbd6fac3289dd8862456bfba89a5179813cf680 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 1999-05-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * ltmain.in: Revert to stripping .exe on all platforms.
+       * TODO: Note about this problem.  Demo is fixed on win32.  -Wl and 
+       -Wc are implemented for release 1.4.  Support `empty' convenience
+       libraries.
+
        * ltconfig.in (solaris*, ld_shlibs): Do not enable shared
        libraries with GNU ld 2.8.*, it's broken.  Emit a warning
        suggesting an upgrade.
@@ -20,7 +25,7 @@
 
        * doc/libtool.texi: fix "wierd" typo :)
        * ltmain.in: strip off the .exe suffix only on *Win
-         (Reported by Matthew D. Langston <langston@SLAC.Stanford.EDU>)
+       Reported by Matthew D. Langston <langston@SLAC.Stanford.EDU>
 
 1999-05-23  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
diff --git a/TODO b/TODO
index b00a971250f53a9eed9233b3b2b23d4f142783ca..da9b287ba8dec4ad4341a670af5d3f5cc3758041 100644 (file)
--- a/TODO
+++ b/TODO
@@ -38,8 +38,10 @@ In the future:
   possible would greatly improve libltdl's ability to be embedded in and 
   used by other systems.
 
-* Fix */demo on win32.
-This may require resolving some of the items below.
+* Arrange that EXEEXT suffixes are stripped from wrapper script names
+only when needed, and that a timestamp file or a wrapper program is
+created with the EXEEXT suffix, so that `make' doesn't build it every
+time.
 
 * Figure out how to use data items in dlls with win32.
 The difficult part is compiling each object which will be linked with an
@@ -77,11 +79,10 @@ libtool's command line, and passing them down to the linker, if "$wl"
 is `-Wl,', or stripping the `-Wl,' part if we're calling `ld'
 directly.  We could also introduce `-Wc,flag' and `-Xcompiler flag' to
 allow unrecognized flags to be passed to the compiler, after stripping
-by libtool.
+by libtool.  This is already implemented in the CVS tree.
 
-* Another form of convenience library, suggested by Alexandre Oliva,
-is to have undocumented utility libraries, where only the shared
-version is installed.
+* Another form of convenience library is to have undocumented utility
+libraries, where only the shared version is installed.
 
 * We could use libtool object convenience libraries that resolve
 symbols to be included in a libtool archive.  This would require some
@@ -90,9 +91,11 @@ sort of -whole-archive option, as well.
 * Currently, convenience libraries (.al) are built from .lo objects,
 except when --disable-shared.  When we can build both shared and
 static libraries, we should probably create a .al out of .lo objects
-and also a .a out of .o objects.  The .al would only be used to
-create shared libraries, whereas the .a would be used for creating
-static libraries and programs.
+and also a .a out of .o objects.  The .al would only be used to create
+shared libraries, whereas the .a would be used for creating static
+libraries and programs.  We could also explicitly support `empty'
+convenience libraries, that behave as macros that expand to a set of
+-Rs, -Ls and -ls switches.
 
 * We should include tests with convenience libraries and reloadable
 objects in the testsuite.
index 3700241b709700a42ca48ebf94b2ca5ee5d10af7..a3f654f25eab6f8e642bdc0f90330cd6f15903fa 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -2660,14 +2660,10 @@ static const void *lt_preloaded_setup() {
 
       # Only actually do things if our run command is non-null.
       if test -z "$run"; then
-       case "$host" in
-       *-*-cygwin* | *-*-mingw* | *-*-os2*)
-         # win32 will think the script is a binary if it has
-         # a .exe suffix, so we strip it off here.
-         case $output in
-           *.exe) output=`echo $output|sed 's,.exe$,,'` ;;
-         esac
-         ;;
+       # win32 will think the script is a binary if it has
+       # a .exe suffix, so we strip it off here.
+       case $output in
+         *.exe) output=`echo $output|sed 's,.exe$,,'` ;;
        esac
        $rm $output
        trap "$rm $output; exit 1" 1 2 15