bug-texinfo
[Top][All Lists]
Advanced

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

Re: -no-undefined


From: Gavin Smith
Subject: Re: -no-undefined
Date: Thu, 14 Jan 2016 12:02:20 +0000

On 13 January 2016 at 20:09, Eli Zaretskii <address@hidden> wrote:
>> Date: Wed, 13 Jan 2016 19:42:45 +0000
>> From: Gavin Smith <address@hidden>
>> Cc: Texinfo <address@hidden>
>>
>> It would appear to be inappropriate to add the -no-undefined flag
>> unconditionally.
>
> Then we should do so conditionally, I guess.  E.g., have a Make
> variable that is normally empty, except on Windows.

Could -no-undefined be included in PERL_EXT_LDFLAGS or similar when
configure is run?

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
-D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -DVERSION=\"6.0\"
-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.



reply via email to

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