FYI  it's probably not the makefiles causing the problem if you can compile.

 PERL_SYS_INIT3(&argc,&argv,&env);  at the start of main solved my problem,
at least for now. See miniperlmain.c for example. (add
    int PL_use_safe_putenv =1;
    int PL_do_undump = 0;
if needed)

--t

----- Original Message ----- 
From: "toolscripts" <[EMAIL PROTECTED]>
To: <beginners@perl.org>
Sent: Tuesday, March 22, 2005 5:00 PM
Subject: perlembed : makefiles on win32



 I've tried following the perlembed manual example and the downloaded
ExtUtils-Embed-1.14 on windows but the generated makefiles are wrong. Either
they say "Expecting Rule Or Pattern found neither" or in one case it
couldn't find perl.h and other headers.
Using Mingw, dont have VCC, tried with mingw32-make, nmake, dmake.
Does anyone have some example files that work that I can see?
Here's probably the problem, Im using perl-5.8.6.

I found it easy enough to compile with my own header, but it crashes on
start.

--t



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to