[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should libtool link in libgcc when building a shared library?
From: |
Albert Chin |
Subject: |
Re: Should libtool link in libgcc when building a shared library? |
Date: |
Wed, 23 Mar 2005 20:07:20 -0600 |
User-agent: |
Mutt/1.5.6i |
On Wed, Mar 23, 2005 at 03:25:05PM -0800, Steve Ellcey wrote:
> I look at the file libtool.m4 from libtool 1.5.10, and I see:
>
> # Check if GNU C++ uses GNU ld as the underlying linker, since the
> # archiving commands below assume that GNU ld is being used.
> if test "$with_gnu_ld" = yes; then
> _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects
> $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o
> $lib'
>
> It uses the compiler to link but it also uses -nostdlib and so we are
> not using the compiler to automatically link in any libraries. It is
> the use of -nostdlib that I am most interested in. Will that usage
> continue?
What's the value of $postdep_objects?
--
albert chin (address@hidden)