[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: solaris archive_cmds change for sun CC c++ compiler
From: |
Albert Chin |
Subject: |
Re: solaris archive_cmds change for sun CC c++ compiler |
Date: |
Fri, 22 Jul 2005 22:07:33 -0500 |
User-agent: |
Mutt/1.5.6i |
On Fri, Jul 22, 2005 at 09:55:13PM +0900, Peter O'Gorman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Albert Chin wrote:
> | On Fri, Jul 22, 2005 at 12:26:21AM +0900, Peter O'Gorman wrote:
> |
> |>Index: libtool.m4
> |>===================================================================
> |>RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
> |>retrieving revision 1.314.2.96
> |>diff -u -3 -p -u -r1.314.2.96 libtool.m4
> |>--- libtool.m4 8 Jul 2005 15:03:15 -0000 1.314.2.96
> |>+++ libtool.m4 21 Jul 2005 15:25:42 -0000
> |>@@ -3475,10 +3475,12 @@ case $host_os in
> |> case $cc_basename in
> |> CC*)
> |> # Sun C++ 4.2, 5.x and Centerline C++
> |>+ _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes
> |>+ _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
> |> _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
> |>- _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib
> - -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects
> $compiler_flags'
> |>+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}
> -h$soname
> - -o $lib $libobjs $deplibs $compiler_flags'
> |> _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" >
> $lib.exp~cat
> $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };"
> >>$lib.exp~
> |>- $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname
> -o
> $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm
> $lib.exp'
> |>+ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib
> $libobjs $deplibs $compiler_flags~$rm $lib.exp'
> |
> |
> | Why do you remove $predep_objects and $postdep_objects?
>
> Because they are always empty.
Shouldn't that be the focus of a different patch? Maybe
$predep_objects and $postdep_objects are empty for aCC on HP-UX and
cxx on Tru64 UNIX as well? I'd rather see this patch encompass only
the required changes to affect adding -lCstd -lCrun and leave the rest
for another patch where $predep_objects and $postdep_objects would be
removed for all CXX tags. I'd kinda rather them remain as it makes
less difference between the CXX tags.
--
albert chin (address@hidden)
- solaris archive_cmds change for sun CC c++ compiler, Peter O'Gorman, 2005/07/19
- Re: solaris archive_cmds change for sun CC c++ compiler, Albert Chin, 2005/07/21
- Re: solaris archive_cmds change for sun CC c++ compiler, Peter O'Gorman, 2005/07/21
- Re: solaris archive_cmds change for sun CC c++ compiler, Peter O'Gorman, 2005/07/21
- Re: solaris archive_cmds change for sun CC c++ compiler, Peter O'Gorman, 2005/07/21
- Re: solaris archive_cmds change for sun CC c++ compiler, Albert Chin, 2005/07/21
- Re: solaris archive_cmds change for sun CC c++ compiler, Albert Chin, 2005/07/22
- Re: solaris archive_cmds change for sun CC c++ compiler, Peter O'Gorman, 2005/07/22
- Re: solaris archive_cmds change for sun CC c++ compiler,
Albert Chin <=
- Re: solaris archive_cmds change for sun CC c++ compiler, Peter O'Gorman, 2005/07/24