From: Alexandre Oliva Date: Wed, 26 May 1999 00:00:40 +0000 (+0000) Subject: * ltmain.in: Revert to stripping .exe on all platforms. X-Git-Tag: release-1-3-2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6022528b2904f5031db4b236cdc0c431d16e95ba;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 0061668f6..edbd6fac3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 1999-05-25 Alexandre Oliva + * 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 ) + Reported by Matthew D. Langston 1999-05-23 Alexandre Oliva diff --git a/TODO b/TODO index b00a97125..da9b287ba 100644 --- 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. diff --git a/ltmain.in b/ltmain.in index 3700241b7..a3f654f25 100644 --- 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