libtool
[Top][All Lists]
Advanced

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

Re: cmdline_wrap.at


From: Ralf Wildenhues
Subject: Re: cmdline_wrap.at
Date: Sat, 28 Feb 2009 15:59:07 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

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  <address@hidden>

        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'





reply via email to

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