Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Gerrit P. Haase" <gp@familiehaase.de>
Organization: Esse keine toten Tiere
To: "Ñãzã®78" <nazar@ebizmalay.com>
Date: Sun, 26 Aug 2001 12:51:39 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Subject: Re: perl-5.6.1-2 bug
Reply-to: gp@familiehaase.de
CC: cygwin@cygwin.com
Message-ID: <3B88F0DB.18944.10A18D91@localhost>
In-reply-to: <000901c12ded$f133fde0$3f4aa9cb@ebizmalay>
X-mailer: Pegasus Mail for Win32 (v3.12cDE)
X-Hops: 1
X-Sender: 320081107336-0001@t-dialin.net
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from Quoted-printable to 8bit by delorie.com id GAA11730

Ñãzã®78 schrieb am 2001-08-26, 13:14:
>Hi there. I've just found this on perl-5.6.1-2.
>
>-- begin test.pl --
>#!/usr/bin/perl
>
>print "Hello, World\n\n";
>
>exit;
>-- end test.pl --
>
>perlcc -o test.exe test.pl
>
>When try'in to execute test.exe, I got this:
>
>Error Starting the Program>>The TEST.EXE is linked to missing export
>LIBPERL5_6_1.DLL:Perl_Gcurinterp_ptr.
>
>Hope this helps.

Hi,

You lucky one, how does this trick work?

For me it stackdumps with exactely the same script:

$ ./test
      0 [main] test 292 open_stackdumpfile: Dumping stack trace to test.exe.stackdump
Segmentation fault (core dumped)

perlcc 'should' be able to build standalone executables, but
it is the first time i saw now, that it is really able to do so.
I will have to dig into a little deeper.
Have you some special environment variables set?

Gerrit


-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

