[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HP-UX libtool patch (was: Re: IRIX libtool patch)
From: |
Alexandre Oliva |
Subject: |
HP-UX libtool patch (was: Re: IRIX libtool patch) |
Date: |
27 Apr 2001 14:14:39 -0300 |
User-agent: |
Gnus/5.090002 (Oort Gnus v0.02) XEmacs/21.1 (Cuyahoga Valley) |
On Apr 27, 2001, Mark P Mitchell <address@hidden> wrote:
> Fri Apr 27 10:23:04 2001 Mark P Mitchell <address@hidden>
> * ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds.
BTW, I see the same problem on the HP-UX configuration for GCC, that I
added a few days ago :-(
I wonder if one of the HP-UX testers would find it helps with the
linker crashes or duplicate-symbol problems?
Index: ChangeLog
from Alexandre Oliva <address@hidden>
* ltcf-cxx.sh: Add -nostdlib to HP-UX GCC archive_cmds.
Index: ltcf-cxx.sh
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/ltcf-cxx.sh,v
retrieving revision 1.1.2.43
diff -u -p -r1.1.2.43 ltcf-cxx.sh
--- ltcf-cxx.sh 2001/04/27 17:07:33 1.1.2.43
+++ ltcf-cxx.sh 2001/04/27 17:13:28
@@ -276,8 +276,8 @@ case $host_os in
if test $with_gcc = yes; then
if test $with_gnu_ld = no; then
case "$host_os" in
- hpux9*) archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC
${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs
$deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib ||
mv $output_objdir/$soname $lib' ;;
- *) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b
${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects
$compiler_flags' ;;
+ hpux9*) archive_cmds='$rm $output_objdir/$soname~$CC -shared
-nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname
$predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test
$output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
+ *) archive_cmds='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname
${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs
$postdep_objects $compiler_flags' ;;
esac
fi
else
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer address@hidden, redhat.com}
CS PhD student at IC-Unicamp address@hidden, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- HP-UX libtool patch (was: Re: IRIX libtool patch),
Alexandre Oliva <=