[Top][All Lists]

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

Re: -no-undefined

From: Eli Zaretskii
Subject: Re: -no-undefined
Date: Thu, 14 Jan 2016 18:26:31 +0200

> Date: Thu, 14 Jan 2016 12:02:20 +0000
> From: Gavin Smith <address@hidden>
> Cc: Texinfo <address@hidden>, Ken Brown <address@hidden>
> Could -no-undefined be included in PERL_EXT_LDFLAGS or similar when
> configure is run?

It's possible, but it becomes too much, I think.  PERL_EXT_LDFLAGS can
be justified as some setting dependent on the local system
configuration.  But -no-undefined is a general MS-Windows thing, it's
IMO wrong to expect users to specify something that should always be
used on Windows.

> It may still be possible to add the "-lperl" option needed under MinGW
> and Cygwin automatically. On the Solaris system in question, the
> missing symbols are in
> /usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE/libperl.so.1, and doing
> /bin/bash ./libtool  --tag=CC    --mode=link cc -D_LARGEFILE_SOURCE
> -DXS_VERSION=\"6.0\" "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE"
>    -module   -o TestXS.la -rpath /home/gavin/local/lib/texinfo
> libtool.so TestXS_la-TestXS.lo  -no-undefined
> -L/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE -lperl
> worked with the -no-undefined flag. Now I just have to see if it's
> possible to get "-L/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE
> -lperl" automatically from the output of perl -V.

I wonder if libtool has some magic switch that will result in it doing
TRT.  Some special mode= mode, perhaps, or some switch to it?  Can
libtool people help us out here?


reply via email to

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