[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Perl's cc
From: |
Eli Zaretskii |
Subject: |
Re: Using Perl's cc |
Date: |
Sat, 11 Jul 2015 19:39:13 +0300 |
> Date: Sat, 11 Jul 2015 16:57:05 +0100
> From: Gavin Smith <address@hidden>
> Cc: address@hidden
>
> > mylib/xspara.c: In function 'xspara_hello':
> > d:/usr/Perl/lib/CORE/perl.h:155:16: error: 'my_perl' undeclared (first
> > use in this function)
> > # define aTHX my_perl
> > ^
> > d:/usr/Perl/lib/CORE/embedvar.h:38:18: note: in expansion of macro 'aTHX'
> > # define vTHX aTHX
> > ^
> > d:/usr/Perl/lib/CORE/embedvar.h:58:19: note: in expansion of macro 'vTHX'
> > #define PL_Mem (vTHX->IMem)
> > ^
>
> The -DPERL_IMPLICIT_CONTEXT flag may be causing problems. Could you
> try the change below?
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?
- Re: Using Perl's cc, (continued)
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/26
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/05
- Re: Using Perl's cc, Gavin Smith, 2015/07/05
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/05
- Re: Using Perl's cc, Gavin Smith, 2015/07/05
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/05
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc,
Eli Zaretskii <=
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11