summaryrefslogtreecommitdiff
path: root/wince/compile.bat
diff options
context:
space:
mode:
authorVadim Konovalov <vkonovalov@lucent.com>2002-05-04 07:49:11 +0400
committerJarkko Hietaniemi <jhi@iki.fi>2002-05-05 01:05:17 +0000
commit18f68570297a02601dc2452e05e11ca1485ace3f (patch)
tree51500988a2689c530c150a514098ec39d08325f4 /wince/compile.bat
parenta4ccfa7629128e4b79e21f856eb1cbf44ef54e7e (diff)
downloadperl-18f68570297a02601dc2452e05e11ca1485ace3f.tar.gz
Re: Cross-compiling as of WinCE
Message-ID: <00ca01c1f2fd$20a35fb0$cb5cc3d9@vad> p4raw-id: //depot/perl@16407
Diffstat (limited to 'wince/compile.bat')
-rw-r--r--wince/compile.bat25
1 files changed, 25 insertions, 0 deletions
diff --git a/wince/compile.bat b/wince/compile.bat
new file mode 100644
index 0000000000..582d422e81
--- /dev/null
+++ b/wince/compile.bat
@@ -0,0 +1,25 @@
+@echo off
+rem
+rem edit ARG-xxx variable to reflect your system and run
+rem compile.bat [target] [additional parameters for nmake]
+rem
+
+set ARG-1=PV=
+set ARG-2=INST_VER=
+set ARG-3=INSTALL_ROOT=\Storage Card\perl-tests\perl@16376
+set ARG-4=WCEROOT=%SDKROOT%
+set ARG-5=CEPATH=%WCEROOT%
+set ARG-6=CELIBDLLDIR=d:\personal\pocketPC\celib-palm-3.0
+set ARG-7=CECONSOLEDIR=d:\personal\pocketPC\w32console
+
+rem Only for WIN2000
+set ARG-8=YES=/y
+
+set ARG-9=CFG=RELEASE
+set ARG-10=MACHINE=wince-mips-pocket-wce300
+set ARG-11=PERLCEDIR=$(MAKEDIR)
+set ARG-12=MSVCDIR=D:\MSVStudio\VC98
+set ARG-13=CECOPY=$(HPERL) -I$(PERLCEDIR)\lib $(PERLCEDIR)\comp.pl --copy
+set ARG-14=USE_PERLIO=undef
+
+nmake -f Makefile.ce "%ARG-1%" "%ARG-2%" "%ARG-3%" "%ARG-4%" "%ARG-5%" "%ARG-6%" "%ARG-7%" "%ARG-8%" "%ARG-9%" "%ARG-10%" "%ARG-11%" "%ARG-12%" "%ARG-13%" "%ARG-14%" %1 %2 %3 %4 %5 %6 %7 %8 %9