D
Daniel Völkerts
Dear Readers,
I searched the ruby-talk archives and googled but both left me alone.
After I read the README.wince documentation for the build process I
installed all the required files. My setup is:
- Windows Embedded Visual C++ 4.0 SP4
- DELL Axim X51 ARMV5T XScale CPU
- Windows Mobile 5.0
The following batch set the env variables and provide me a command line
for the build process.
-->8---
set INCLUDE=3DF:\Programme\Windows CE Tools\wce400\STANDARDSDK\Include\Ar=
mv4t
set LIB=3DF:\Programme\Windows CE Tools\wce400\STANDARDSDK\Lib\Armv4t
set CE_TOOLS_DIR=3DF:\Programme\Windows CE Tools\wce400
set EMBEDDED_TOOLS_DIR=3DC:\Programme\Microsoft eMbedded C++
4.0\EVC\WCE400\BIN
set
PATH=3D%PATH%;%EMBEDDED_TOOLS_DIR%;%CE_TOOLS_DIR%;C:\Programme\Microsoft
eMbedded C++ 4.0\Common\EVC\Bin
start /D F:\ cmd.exe
-----------------------------
I successfully ran configure.bat (without an architecture type as
parameter for two reasons: first I don't habe any idea how to look up
the target string for my pda like 'arm-hpc-wince', second this parameter
seems to be optional)
I ran nmake and he complaint following:
--->8-------
F:\ruby-1.8.4\wince>configure.bat
Creating Makefile
type `NMAKE' to make ruby for mswince.
F:\ruby-1.8.4\wince>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
Creating fake.rb
Creating config.h
config.h updated.
Creating config.status
rbconfig.rb updated
cl -nologo -Zi -w -O2b2xg- -G6 -DRUBY_EXPORT -I. -I./..
-I./../missing -I./../wince -I. -I./
.. -I./../missing -I./../wince -DUNDER_CE -D_WIN32_WCE=3D
-DFILENAME_MAX=3DMAX_PATH -DTLS_OUT_OF_INDE
XES=3D0xFFFFFFFF -DBUFSIZ=3D512 -D_UNICODE -DUNICODE -c -Tc./../array.c
array.c
\config.h(92) : fatal error C1017: invalid integer constant expression
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
---------------------------
It seems that he stops as the -D variable _WIN32_WCE=3D is empty. Okay.
Opened the makefile in my editor and look up the line.
----->8-------
PROCESSOR_ARCHITECTURE =3D x86
PROCESSOR_LEVEL =3D 6
# RUBY_SO_NAME =3D $(RT)-$(RUBY_INSTALL_NAME)$(MAJOR)$(MINOR)
# CFLAGS =3D -nologo $(DEBUGFLAGS) $(OPTFLAGS) $(PROCESSOR_FLAG)
CPPFLAGS =3D -I. -I$(srcdir) -I$(srcdir)/missing -I$(srcdir)/wince \
$(CECPUDEF) -DUNDER_CE -D_WIN32_WCE=3D$(SUBSYSVERSION:.=3D) \
-DFILENAME_MAX=3DMAX_PATH -DTLS_OUT_OF_INDEXES=3D0xFFFFFFFF \
-DBUFSIZ=3D512 -D_UNICODE -DUNICODE $(QSH4)
------------------
How does he resolve the SUBSYSVERSION? It shouldn't be empty (I guess).
Sorry for the long post, but I hope to demonstrate that I try to figure
out the problem.
TIA,
--=20
Daniel V=F6lkerts
Protected by Anti Pesto.
I searched the ruby-talk archives and googled but both left me alone.
After I read the README.wince documentation for the build process I
installed all the required files. My setup is:
- Windows Embedded Visual C++ 4.0 SP4
- DELL Axim X51 ARMV5T XScale CPU
- Windows Mobile 5.0
The following batch set the env variables and provide me a command line
for the build process.
-->8---
set INCLUDE=3DF:\Programme\Windows CE Tools\wce400\STANDARDSDK\Include\Ar=
mv4t
set LIB=3DF:\Programme\Windows CE Tools\wce400\STANDARDSDK\Lib\Armv4t
set CE_TOOLS_DIR=3DF:\Programme\Windows CE Tools\wce400
set EMBEDDED_TOOLS_DIR=3DC:\Programme\Microsoft eMbedded C++
4.0\EVC\WCE400\BIN
set
PATH=3D%PATH%;%EMBEDDED_TOOLS_DIR%;%CE_TOOLS_DIR%;C:\Programme\Microsoft
eMbedded C++ 4.0\Common\EVC\Bin
start /D F:\ cmd.exe
-----------------------------
I successfully ran configure.bat (without an architecture type as
parameter for two reasons: first I don't habe any idea how to look up
the target string for my pda like 'arm-hpc-wince', second this parameter
seems to be optional)
I ran nmake and he complaint following:
--->8-------
F:\ruby-1.8.4\wince>configure.bat
Creating Makefile
type `NMAKE' to make ruby for mswince.
F:\ruby-1.8.4\wince>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
Creating fake.rb
Creating config.h
config.h updated.
Creating config.status
rbconfig.rb updated
cl -nologo -Zi -w -O2b2xg- -G6 -DRUBY_EXPORT -I. -I./..
-I./../missing -I./../wince -I. -I./
.. -I./../missing -I./../wince -DUNDER_CE -D_WIN32_WCE=3D
-DFILENAME_MAX=3DMAX_PATH -DTLS_OUT_OF_INDE
XES=3D0xFFFFFFFF -DBUFSIZ=3D512 -D_UNICODE -DUNICODE -c -Tc./../array.c
array.c
\config.h(92) : fatal error C1017: invalid integer constant expression
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
---------------------------
It seems that he stops as the -D variable _WIN32_WCE=3D is empty. Okay.
Opened the makefile in my editor and look up the line.
----->8-------
PROCESSOR_ARCHITECTURE =3D x86
PROCESSOR_LEVEL =3D 6
# RUBY_SO_NAME =3D $(RT)-$(RUBY_INSTALL_NAME)$(MAJOR)$(MINOR)
# CFLAGS =3D -nologo $(DEBUGFLAGS) $(OPTFLAGS) $(PROCESSOR_FLAG)
CPPFLAGS =3D -I. -I$(srcdir) -I$(srcdir)/missing -I$(srcdir)/wince \
$(CECPUDEF) -DUNDER_CE -D_WIN32_WCE=3D$(SUBSYSVERSION:.=3D) \
-DFILENAME_MAX=3DMAX_PATH -DTLS_OUT_OF_INDEXES=3D0xFFFFFFFF \
-DBUFSIZ=3D512 -D_UNICODE -DUNICODE $(QSH4)
------------------
How does he resolve the SUBSYSVERSION? It shouldn't be empty (I guess).
Sorry for the long post, but I hope to demonstrate that I try to figure
out the problem.
TIA,
--=20
Daniel V=F6lkerts
Protected by Anti Pesto.