diff --git a/ChangeLog b/ChangeLog index b39b479d..9f12fbb5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 1999-05-25 Alexandre Oliva + * ltmain.in: Revert to stripping .exe on all platforms. + * TODO: Note about this problem. Demo is fixed on win32. 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. diff --git a/TODO b/TODO index 729350c4..4d1085db 100644 --- a/TODO +++ b/TODO @@ -45,8 +45,10 @@ In the future: the pseudo-library and later dlopening them when a program is linked against such a library. -* Fix */demo on win32. -This may simply require resolving the item 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,9 +79,8 @@ People who need it: Jean Daniel Fekete Thomas Hiller -* 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 @@ -88,9 +89,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 bb53950d..60c9a81c 100644 --- a/ltmain.in +++ b/ltmain.in @@ -3262,14 +3262,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