Jan Dubois wrote:
On Mon, 27 Aug 2007, Suresh Govindachar wrote:
Is there a better way to embed perl so as to be
version independent?
There really is no way to do it totally version independently.
One reason the vim code is so tightly coupled is that it
doesn't have
On Fri, 24 Aug 2007, Suresh Govindachar wrote:
Sisyphus suggested linking with C:/opt/perl/lib/CORE/perl58.lib
(which does have the symbols in it) in the command that creates
if_perl.o and/or in the command that builds gvim.exe (which is also
the command that reports the missing
Sisyphus wrote:
I would try adding -lperl58 to either this command (the command
that builds if_perl.o):
gcc -c -Iproto -DWIN32 -DWINVER=0x0400 -D_WIN32_WINNT=0x0400
-DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_GETTEXT -DHAVE_LOCALE_H
-DDYNAMIC_GETTEXT -DFEAT_OLE -DFEAT_CSCOPE
Solved with help from Brian Dessent on the MinGW mailing list.
Add -lperl58 at the very end (location matters) of the last command.
--Suresh
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe:
When mingw is used to build gvim with dynamic support for perl:
1) For older versions of ActivePerl, there is no
need to add -lperl58
The linker somehow knows that perl58 related
symbols that it cannot resolve will be resolved
at runtime via perl58.dll
2) For the
On Mon, 27 Aug 2007, Suresh Govindachar wrote:
So ActiveState is exporting Perl_sv_2iv_flags and
Perl_newXS_flags in a way that is different from the
way they export other symbols.
Nope, this is all incorrect. I've now downloaded the vim sources to
see what is really going on:
The
Jan Dubois wrote:
On Mon, 27 Aug 2007, Suresh Govindachar wrote:
So ActiveState is exporting Perl_sv_2iv_flags and
Perl_newXS_flags in a way that is different from the
way they export other symbols.
Nope, this is all incorrect. I've now downloaded the vim
sources to
On Mon, 27 Aug 2007, Suresh Govindachar wrote:
Thanks for looking into this. I don't think the person who did the
original work to embed perl in Vim is still activly interested in
Vim. I can't live without vim and perl. Is there a better way to
embed perl so as to be version
- Original Message -
From: Suresh Govindachar [EMAIL PROTECTED]
To: perl-win32-users@listserv.ActiveState.com
Cc: 'Sisyphus' [EMAIL PROTECTED]; 'Jan Dubois'
[EMAIL PROTECTED]
Sent: Saturday, August 25, 2007 2:20 PM
Subject: RE: perl58.dll: Perl_sv_2iv_flags (undefined reference
On Fri, 24 Aug 2007, Suresh Govindachar wrote:
Building VIM with dynamic Perl support gives error messages
such as the following:
gobj/if_perl.o:if_perl.c:(.text+0x1c1f):
undefined reference to `Perl_sv_2iv_flags'
This looks like you compiled if_perl.c against the
Jan Dubois wrote:
On Fri, 24 Aug 2007, Suresh Govindachar wrote:
Building VIM with dynamic Perl support gives error messages
such as the following:
gobj/if_perl.o:if_perl.c:(.text+0x1c1f):
undefined reference to `Perl_sv_2iv_flags'
This looks like you
On Fri, 24 Aug 2007, Suresh Govindachar wrote:
Jan Dubois wrote:
On Fri, 24 Aug 2007, Suresh Govindachar wrote:
Building VIM with dynamic Perl support gives error messages
such as the following:
gobj/if_perl.o:if_perl.c:(.text+0x1c1f):
undefined reference to
@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
-Original Message-
From: Jan Dubois [mailto:[EMAIL PROTECTED]
Sent: Friday, August 24, 2007 4:49 PM
To: [EMAIL PROTECTED]; perl-win32-users@listserv.ActiveState.com
Subject: RE: perl58.dll
- Original Message -
From: Suresh Govindachar [EMAIL PROTECTED]
.
.
I would try adding -lperl58 to either this command (the command that builds
if_perl.o):
gcc -c -Iproto -DWIN32 -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 -DHAVE_PATHDEF
-DFEAT_HUGE -DHAVE_GETTEXT -DHAVE_LOCALE_H
- Original Message -
From: Sisyphus [EMAIL PROTECTED]
.
.
Your C:/opt/perl/lib/CORE/libperl58.lib should be capable of defining
those
references - it's surely just a matter of linking to that file.
Not sure if '-lperl58' will find libperl58.lib. If it doesn't, then create
a
Sisyphus suggested linking with C:/opt/perl/lib/CORE/perl58.lib
(which does have the symbols in it) in the command that creates
if_perl.o and/or in the command that builds gvim.exe (which is
also the command that reports the missing references).
But the build is supposed to use the
16 matches
Mail list logo