texinfo-devel
[Top][All Lists]
Advanced

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

Re: Using Perl's cc


From: Gavin Smith
Subject: Re: Using Perl's cc
Date: Sat, 11 Jul 2015 18:17:41 +0100

> It didn't help.  It looks because, under certain circumstances, perl.h
> defines PERL_IMPLICIT_CONTEXT.
>
> This command does succeed (but fails to link due to vasprintf):
>
>   $ make PERL_INC=/d/usr/Perl/lib/CORE LDFLAGS='-no-undefined 
> -L/d/usr/Perl/lib/CORE -lperl520' PERL_CONF_ccflags='-DPERL_TEXTMODE_SCRIPTS 
> -DUSE_SITECUSTOMIZE -DUSE_PERLIO'
>
> But removing flags emitted by fetch_conf.pl, just because they cause
> compilation errors, sounds dubious, no?

Yes. Leave all the flags as they are and remove the #undef line I
recommended. The problem is that, for whatever reason, the use of
"malloc" in xspara_hello is being redirected to a Perl version, which
is then trying to use the Perl API. This needs a dTHX line at the
start of the function, which I'll add.



reply via email to

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