Re:Building Ponie On Win32

[email protected] ("mattia\.barbon\@libero\.it") Fri, 10 Sep 2004 11:08:20 +0200
Newsgroups perl.ponie.dev
Message-ID <[email protected]>
  Hello,

> I've been trying my hand at getting Ponie to build on Win32.  I'm not really
> sure what the best way to achieve this is, or what the long term plans are
> for the Ponie build process, so please do give me a gentle shove in the
> right direction if I'm way off course.  :-)

  This is the route I'd had took; obviously I think it is
the correct one :-)

> So far, I've written a Win32 makefile in the root directory and fixed up
> Configure so it copies that into place over the current Makefile and doesn't
> run the sh configure script in the perl directory, which doesn't work out on
> Win32.  The Parrot build is done fine, and the PMCs are all being processed
> through pmc2c individually and then to make the library, and the resulting
> files being put in the perl directory.  I *think* (but may be wrong) that
> this is what happens on a non-Win32 build.
> 
> Then we enter the building of the stuff in the perl directory.  I fixed up
> perl/win32/Makefile to have the include path in for parrot's embed.h.  It
> gets off OK, but then blows up here:-
> 
> --
> 
> 
> 
> 
>     cl -c -nologo -Gf -W3 -I..\lib\CORE -I.\include -I. -I.. -I..\..\parrot\
> include -I..\..\src\pmcs -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -D
> PERLDLL -DPERL_CORE   -MD -DNDEBUG -O1 -DPERL_EXTERNAL_GLOB -Fo.\mini\sv.obj
> ..\sv.c
> 
> sv.c
> ..\sv.c(208) : warning C4133: 'function' : incompatible types - from 'struct
> ptr_tbl *' to 'struct interpreter *'
> ..\sv.c(208) : warning C4133: 'function' : incompatible types - from 'struct

  I think you need to build without MULTIPLICTY,
IMP_SYS and THREADS.

HTH
Mattia