D
Dave Burt
Hi,
I'm trying and failing to build Ruby (1.8.2) for WinCE.
Any and all help appreciated
The documentation at wince/README.wince says:
(3) Please set environment variable (({INCLUDE})), (({LIB})),
(({PATH})), (({CE_TOOLS_DIR})), (({EMBEDDED_TOOLS_DIR}))
to run required commands properly from the command line.
This is as far as I got with environment variables:
set CE_TOOLS_DIR="D:\Apps\Microsoft eMbedded Tools\EVC"
set EMBEDDED_TOOLS_DIR="D:\Apps\Microsoft eMbedded Tools"
set path=%path%D:\Apps\Microsoft eMbedded Tools\Common\EVC\Bin;
set path=%path%D:\Apps\Microsoft eMbedded Tools\EVC\WCE300\Bin;
set include=D:\Apps\Microsoft eMbedded Tools\EVC\Include;D:\Apps\Visual
Studio
NET 2003\Vc7\PlatformSDK\Include\;D:\Apps\Visual Studio NET 2003\Vc7\Include
I set SUBSYSVERSION = 300 in the Makefile that configure.bat generated.
Now I am rewarded with the following errors:
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -nologo -Zi -w -O2b2xg- -G6 -I. -I../wince/.. -I. -I../wince/..
-I..
/wince/../missing -I../wince/../wince -DUNDER_CE -D_WIN32_WCE=300 -DFILENAME_
MAX=MAX_PATH -DTLS_OUT_OF_INDEXES=0xFFFFFFFF -DBUFSIZ=512 -D_UNICODE -DUNICODE
-c -Tc../wince/../array.c
array.c
D:\Apps\Visual Studio NET 2003\Vc7\PlatformSDK\Include\winbase.h(4459) :
note C6
311: unknown(0) : see previous definition of 'TLS_OUT_OF_INDEXES'
D:\Apps\Visual Studio NET 2003\Vc7\Include\stdio.h(171) : note C6311:
unknown(0)
: see previous definition of 'FILENAME_MAX'
.../wince/..\time.h(48) : error C2061: syntax error : identifier 'mktime'
.../wince/..\time.h(48) : error C2059: syntax error : ';'
.../wince/..\time.h(48) : error C2059: syntax error : 'type'
.../wince/..\time.h(49) : error C2061: syntax error : identifier 'time'
.../wince/..\time.h(49) : error C2059: syntax error : ';'
.../wince/..\time.h(49) : error C2143: syntax error : missing ')' before '*'
.../wince/..\time.h(49) : error C2143: syntax error : missing '{' before '*'
<snip more syntax errors>
.../wince/../wince\sys/utime.h(10) : error C2059: syntax error : '}'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
I'm guessing (at least part of) the problem is the Visual Studio 2003
header files the compiler is picking up. But:
../wince/../win32/win32.h(25) : fatal error C1083: Cannot open include
file:
'windows.h': No such file or directory
Where is windows.h meant to come from for this build?
Any help?
Thanks,
Dave
I'm trying and failing to build Ruby (1.8.2) for WinCE.
Any and all help appreciated
The documentation at wince/README.wince says:
(3) Please set environment variable (({INCLUDE})), (({LIB})),
(({PATH})), (({CE_TOOLS_DIR})), (({EMBEDDED_TOOLS_DIR}))
to run required commands properly from the command line.
This is as far as I got with environment variables:
set CE_TOOLS_DIR="D:\Apps\Microsoft eMbedded Tools\EVC"
set EMBEDDED_TOOLS_DIR="D:\Apps\Microsoft eMbedded Tools"
set path=%path%D:\Apps\Microsoft eMbedded Tools\Common\EVC\Bin;
set path=%path%D:\Apps\Microsoft eMbedded Tools\EVC\WCE300\Bin;
set include=D:\Apps\Microsoft eMbedded Tools\EVC\Include;D:\Apps\Visual
Studio
NET 2003\Vc7\PlatformSDK\Include\;D:\Apps\Visual Studio NET 2003\Vc7\Include
I set SUBSYSVERSION = 300 in the Makefile that configure.bat generated.
Now I am rewarded with the following errors:
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -nologo -Zi -w -O2b2xg- -G6 -I. -I../wince/.. -I. -I../wince/..
-I..
/wince/../missing -I../wince/../wince -DUNDER_CE -D_WIN32_WCE=300 -DFILENAME_
MAX=MAX_PATH -DTLS_OUT_OF_INDEXES=0xFFFFFFFF -DBUFSIZ=512 -D_UNICODE -DUNICODE
-c -Tc../wince/../array.c
array.c
D:\Apps\Visual Studio NET 2003\Vc7\PlatformSDK\Include\winbase.h(4459) :
note C6
311: unknown(0) : see previous definition of 'TLS_OUT_OF_INDEXES'
D:\Apps\Visual Studio NET 2003\Vc7\Include\stdio.h(171) : note C6311:
unknown(0)
: see previous definition of 'FILENAME_MAX'
.../wince/..\time.h(48) : error C2061: syntax error : identifier 'mktime'
.../wince/..\time.h(48) : error C2059: syntax error : ';'
.../wince/..\time.h(48) : error C2059: syntax error : 'type'
.../wince/..\time.h(49) : error C2061: syntax error : identifier 'time'
.../wince/..\time.h(49) : error C2059: syntax error : ';'
.../wince/..\time.h(49) : error C2143: syntax error : missing ')' before '*'
.../wince/..\time.h(49) : error C2143: syntax error : missing '{' before '*'
<snip more syntax errors>
.../wince/../wince\sys/utime.h(10) : error C2059: syntax error : '}'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
I'm guessing (at least part of) the problem is the Visual Studio 2003
header files the compiler is picking up. But:
../wince/../win32/win32.h(25) : fatal error C1083: Cannot open include
file:
'windows.h': No such file or directory
Where is windows.h meant to come from for this build?
Any help?
Thanks,
Dave