Pike on Windows
Starting with version 7.7, Pike can be compiled directly on Windows. This technique uses MinGW and MSYS to produce a native Windows binary (ie there's no POSIX compatibility layer as with CygWin).This technique seems to work, however there are some issues currently. The most serious of these seems to be the lack of working dynamic modules. A more promising technique is to use the freely available Microsoft Visual C++ Toolkit, which contains the "cl" command line compiler, and the Microsoft Platform SDK, which contains all of the necessary headers and libraries. We then use rnctl, a pike script which converts gcc command line options into cl command line options. PATH=/c/progra~1/mica4c6~1/bin:$HOME/nt-tools/tools:$PATH export PATH LDFLAGS="-LC:/Progra~1/MIC977~1/lib -LC:/Progra~1/thirdpartylibs/lib export LDFLAGS CPPFLAGS="-IC:/Progra~1/MIC977~1/include -IC:/Progra~1/thirdpartylibs/include" export CPPFLAGS INCLUDE=C:\Program Files\Microsoft Visual C++ Toolkit 2003include LIB=C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib export INCLUDE LIBCC=rntcl make install a standard windows build of pike.download a snapshot of pike from 7.7 cvs compile gmp as usual:cd to bundles untar gmp ./configure make make installcompile nettle:cd to bundles untar nettle-1.12.tar.gz untar nettle-1.12.ptar.gzset env variables:CFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" export CFLAGS LDFLAGScompile nettle:./configure --disable-assembler make make install compile pike 7.7:./configure make make install Powered by PikeWiki2 |
|||
gotpike.org | Copyright © 2004 - 2009 | Pike is a trademark of Department of Computer and Information Science, Linköping University |