Hello Tim, * Tim Rice wrote on Thu, Feb 26, 2009 at 01:50:27AM CET: > On Wed, 25 Feb 2009, Ralf Wildenhues wrote: > : * Tim Rice wrote on Mon, Feb 23, 2009 at 10:47:49PM CET: > : > > : > Sure, attched as x.tst-without-patch & x.tst-with-patch > : > I've also attached the curent patch I'm using as uw-template.patch > : > It's just a s/CXX/CC/ of the old one. > : > : How come there is no ranlib step in old_archive_cmds? > > Simple, there is no ranlib on UnixWare.
OK, thanks. I'm installing the patch like this, to avoid information duplication here. Still need to address John's reply. If anyone has a Portland Group compiler installation available for testing (or even allows shell access), I'd be delighted to hear about it. My evaluation license (for 6.0) has long since expired ... Cheers, Ralf 2009-02-28 Tim Rice <t...@multitalents.net> Fix C++ template handling for old archives on UnixWare 7.1.4. * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [sysv5*, sco3.2v5*, sco5v6*] <old_archive_cmds>: For CC, add template prelink step before archiving. Fixes template.at test failures. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index b75a55a..51e8910 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -6219,6 +6219,8 @@ if test "$_lt_caught_CXX_error" != yes; then CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ + '"$_LT_TAGVAR(old_archive_cmds, $1)" ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'