Re: Building Ponie On Win32
[email protected] (Nicholas Clark) Tue, 14 Sep 2004 14:29:30 +0100
| Newsgroups | perl.ponie.dev |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Sep 10, 2004 at 11:08:20AM +0200, [email protected] wrote: > > 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. The thread on perl5-porters about failing tests reminds me of the evil game that ponie plays. On Unix it builds *with* usethreads, but without useithreads. So in config.h that gives: /*#define USE_5005THREADS / **/ /*#define USE_ITHREADS / **/ #if defined(USE_5005THREADS) && !defined(USE_ITHREADS) #define USE_THREADS /* until src is revised*/ #endif /*#define OLD_PTHREADS_API / **/ #define USE_REENTRANT_API /**/ I've no idea whether IMPLICIT_SYS should be defined or undefined in the C pre-processor, but as far as I can work out it's never defined on Unix, with or without threads. Ponie's doing these evil games to get Configure to fire the correct platform hint files to get the binary to be linked against the correct POSIX hints files, but to stop perl building with ithreads, or the ithreads-related tests running (and failing left, right and centre) Nicholas Clark