Hi Albert,

On 16 Aug 2006, at 23:39, Albert Chin wrote:
  cc -z +O2 +Onofltacc +Olit=all +Oentrysched +DD64 +Odataprefetch \
  +Onolimit +We901 -Wl,+b \
-Wl,/opt/TWWfsw/openldap2325lib/hpux64:/opt/TWWfsw/libdb42/lib/ hpux64:/opt/TWWfsw/libsasl21/lib/hpux64:/opt/TWWfsw/libopenssl097/ lib/hpux64 \
  .libs/slapdS.o -o .libs/slapd main.o globals.o bconfig.o config.o \
  daemon.o ...

Unfortunately, the HP-UX 11.23/IA compiler, when generating
.libs/slapd, will optimize _away_ symbols that are not used by any of
the object files being linked

Is this because of the optimisation flags? Or does HP cc strip unused symbols
by default (which would constitute a bug)?

Cheers,
        Gary.
--
Gary V. Vaughan ())_. gary@ {lilith.warpmail.net,gnu.org},[EMAIL PROTECTED]
Research Scientist   ( '/   http://blog.azazil.net
GNU Hacker           / )=   http://www.gnu.org/software/{libtool,m4}
Technical Author   `(_~)_   http://sources.redhat.com/autobook




Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to