Re: -no-undefined

2016-01-20 Thread Eli Zaretskii
> Date: Fri, 15 Jan 2016 17:42:54 +0200 > From: Eli Zaretskii > Cc: bug-texinfo@gnu.org > > > Date: Fri, 15 Jan 2016 14:48:09 + > > From: Gavin Smith > > Cc: Texinfo , Ken Brown > > > > On 15 January 2016 at 14:47, Eli Zaretskii wrote: > > >> Date: Fri, 15 Jan 2016 12:30:59 + > > >> F

Re: -no-undefined

2016-01-15 Thread Eli Zaretskii
> Date: Fri, 15 Jan 2016 14:48:09 + > From: Gavin Smith > Cc: Texinfo , Ken Brown > > On 15 January 2016 at 14:47, Eli Zaretskii wrote: > >> Date: Fri, 15 Jan 2016 12:30:59 + > >> From: Gavin Smith > >> Cc: Texinfo , Ken Brown > >> > >> On 14 January 2016 at 19:12, Gavin Smith wrote:

Re: -no-undefined

2016-01-15 Thread Gavin Smith
On 15 January 2016 at 14:47, Eli Zaretskii wrote: >> Date: Fri, 15 Jan 2016 12:30:59 + >> From: Gavin Smith >> Cc: Texinfo , Ken Brown >> >> On 14 January 2016 at 19:12, Gavin Smith wrote: >> > I'm inclined to add "-L$(PERL_INC) -lperl", with "-lperl" determined >> > from perl -V:libperl, w

Re: -no-undefined

2016-01-15 Thread Eli Zaretskii
> Date: Fri, 15 Jan 2016 12:30:59 + > From: Gavin Smith > Cc: Texinfo , Ken Brown > > On 14 January 2016 at 19:12, Gavin Smith wrote: > > I'm inclined to add "-L$(PERL_INC) -lperl", with "-lperl" determined > > from perl -V:libperl, with a special case for cygwin to change > > "cygperl5_22.

Re: -no-undefined

2016-01-15 Thread Ken Brown
On 1/15/2016 7:30 AM, Gavin Smith wrote: On 14 January 2016 at 19:12, Gavin Smith wrote: I'm inclined to add "-L$(PERL_INC) -lperl", with "-lperl" determined from perl -V:libperl, with a special case for cygwin to change "cygperl5_22.dll" into -lperl. Done. This works on Cygwin. Thanks. K

Re: -no-undefined

2016-01-15 Thread Gavin Smith
On 14 January 2016 at 19:12, Gavin Smith wrote: > I'm inclined to add "-L$(PERL_INC) -lperl", with "-lperl" determined > from perl -V:libperl, with a special case for cygwin to change > "cygperl5_22.dll" into -lperl. Done.

Re: -no-undefined

2016-01-14 Thread Eli Zaretskii
> Date: Thu, 14 Jan 2016 19:12:53 + > From: Gavin Smith > Cc: Texinfo , Ken Brown > > In ExtUtils::MM_Win32 the static library is passed > directly as an argument to the linker, but that doesn't work for > libtool. I'm not sure exactly of the reasons, but it gives a warning > looking like >

Re: -no-undefined

2016-01-14 Thread Gavin Smith
I'm inclined to add "-L$(PERL_INC) -lperl", with "-lperl" determined from perl -V:libperl, with a special case for cygwin to change "cygperl5_22.dll" into -lperl. If the "-no-undefined" flag causes problems, anywhere else, removing it would be ind

Re: -no-undefined

2016-01-14 Thread Eli Zaretskii
> Date: Thu, 14 Jan 2016 12:02:20 + > From: Gavin Smith > Cc: Texinfo , Ken Brown > > 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 s

Re: -no-undefined

2016-01-14 Thread Ken Brown
On 1/14/2016 7:02 AM, Gavin Smith wrote: On 13 January 2016 at 20:09, Eli Zaretskii wrote: Date: Wed, 13 Jan 2016 19:42:45 + From: Gavin Smith Cc: Texinfo It would appear to be inappropriate to add the -no-undefined flag unconditionally. Then we should do so conditionally, I guess

Re: -no-undefined

2016-01-14 Thread Gavin Smith
On 13 January 2016 at 20:09, Eli Zaretskii wrote: >> Date: Wed, 13 Jan 2016 19:42:45 + >> From: Gavin Smith >> Cc: Texinfo >> >> It would appear to be inappropriate to add the -no-undefined flag >> unconditionally. > > Then we should do so

Re: -no-undefined

2016-01-13 Thread Ken Brown
On 1/13/2016 3:09 PM, Eli Zaretskii wrote: Date: Wed, 13 Jan 2016 19:42:45 + From: Gavin Smith Cc: Texinfo 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

Re: -no-undefined

2016-01-13 Thread Eli Zaretskii
> Date: Wed, 13 Jan 2016 19:42:45 + > From: Gavin Smith > Cc: Texinfo > > 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.

-no-undefined

2016-01-13 Thread Gavin Smith
,14 +78,14 @@ >> >> XSParagraph_la_CFLAGS += -DVERSION=\"$(VERSION)\" >> -DXS_VERSION=\"$(XSPARAGRAPH_INTERFACE_VERSION)\" "-I$(PERL_INC)" >> >> -XSParagraph_la_LDFLAGS=-avoid-version -module $(PERL_CONF_cccdlflags) >> +XSPar