File: Install.ce

package info (click to toggle)
glhack 1.2-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 24,604 kB
  • ctags: 18,992
  • sloc: ansic: 208,570; cpp: 13,139; yacc: 2,005; makefile: 1,161; lex: 377; sh: 321; awk: 89; sed: 11
file content (136 lines) | stat: -rw-r--r-- 5,919 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
Copyright (c) Alex Kompel, 2002
NetHack may be freely redistributed.  See license for details.
========================================================================
                 Instructions for compiling and installing
             NetHack 3.4.3 on a Windows CE or PocketPC system
========================================================================
		      Last revision: $Date: 2003/10/14 01:31:21 $

Credit for the porting of NetHack to Windows CE goes to Alex Kompel who 
initially developed and contributed the port.

In order to build NetHack for Windows CE, you need *both* of the following:

  o A copy of Microsoft Visual C V6.0 SP3 or later.  Things may work with 
    an earlier version of the compiler, but the current code has not been
    tested with an earlier version.
  o Embedded Visual C++ 3.0 or later


FIRST STEP:

The first step in building NetHack for Windows CE is to execute
sys/wince/cesetup.bat.

From the command prompt:
	cd sys\wince
	cesetup

From a Windows explorer window:
	double-click on cesetup.bat

A "wince" directory will be created off the top of the NetHack source
tree, and a Microsoft embedded C workspace file will be placed in the
top of the NetHack source tree. 

------------
| BUILDING |
------------

Boostrapping the build process on Windows NT/2000/XP

1. With the Visual C++ 6.0 tools in your path,
   Run "nmake /f bootstrp.mak" from the wince folder.

Compiling

2. Start the Embedded Visual C IDE. In the Embedded Visual C IDE 
       Menus, choose:
           File | Open Workspace

3.  Set up for the build.

        o In the Visual C "Open Workspace" dialog box, navigate to the top
            of  your NetHack source directory tree.
 
            In there, highlight "wince.vcw" and click on Open.
            Once the workspace has been opened, you should see the following
            list in the Visual C selection window:
              + nethack_hpc files
              + nethack_palm_pc files
              + nethack_pocket_pc files
              + nethack_smartphone files

        o On the Embedded Visual C menus, choose:
              Build | Set Active Platform
		Select the platform that corresponds to your device:
		Palm-size PC 2.11  - palm size PC running Windows CE version 2.11
		Pocket PC          - palm-size PC running Windows CE 3.0 and higher (PocketPC)
		H/PC Pro 2.11      - handheld computers running Windows CE 2.11 anf higher
		Smartphone 2002	 - Microsoft SmartPhone device

        o On the Visual C menus again, choose either:
              Build | Set Active Configuration 
                where configuration is one of the following (make sure it matches the platform 
                you have selected):
		nethack_hpc - Win32 (WCE MIPS) HPCRelease  - H/PC Pro 2.11 MIPS processor release executable
		nethack_hpc - Win32 (WCE x86em) HPCDebug   - H/PC Pro 2.11 x86 emulation debug executable
		nethack_hpc - Win32 (WCE ARM) HPCRelease   - H/PC Pro 2.11 ARM processor release executable
		nethack_hpc - Win32 (WCE SH3) HPCRelease   - H/PC Pro 2.11 SH3 processor release executable
		nethack_hpc - Win32 (WCE x86em) HPCRelease - H/PC Pro 2.11 x86 emulation release executable
		nethack_hpc - Win32 (WCE SH4) HPCRelease   - H/PC Pro 2.11 SH4 processor release executable
		nethack_palm_pc - Win32 (WCE MIPS) PalmPCRelease  - Palm-size PC 2.11 MIPS processor release executable
		nethack_palm_pc - Win32 (WCE x86em) PalmPCDebug   - Palm-size PC 2.11 x86 emulation debug executable
		nethack_palm_pc - Win32 (WCE SH3) PalmPCRelease   - Palm-size PC 2.11 SH3 processor release executable
		nethack_palm_pc - Win32 (WCE x86em) PalmPCRelease - Palm-size PC 2.11 x86 emulation release executable
		nethack_pocket_pc - Win32 (WCE MIPS) PocketPCRelease  - Pocket PC MIPS processor release executable
		nethack_pocket_pc - Win32 (WCE ARM) PocketPCRelease   - Pocket PC ARM processor release executable
		nethack_pocket_pc - Win32 (WCE x86em) PocketPCRelease - Pocket PC x86 emulation release executable
		nethack_pocket_pc - Win32 (WCE x86em) PocketPCDebug   - Pocket PC x86 emulation debug executable
		nethack_pocket_pc - Win32 (WCE SH3) PocketPCRelease   - Pocket PC SH3 processor release executable
		nethack_smartphone - Win32 (WCE ARM) SPhoneRelease   - Smartphone 2002 ARM processor release executable
		nethack_smartphone - Win32 (WCE x86em) SPhoneDebug   - Smartphone 2002 x86 emulation debug executable

Building
    
4.  Start your build.
 
        o On the Embedded Visual C menus once again, choose:
              Build | Build nethackm.exe
          This starts the build.  It is likely that the IDE message window 
          where you are doing the compiling will be occupied for a while.
    Notes: 

        o You may get a bunch of warnings regarding missing include files in the 
          beginning of the build process - ignore them. For some reason the tool 
          that produces these messages ignores preprocessor directives. The actual 
          build will go just fine.
        o Sometimes the compiler chokes on do_wear.c  Ignore that - let the build 
          finish. Then run it again - it will compile just fine. (Seems to be some 
          sort of bug in EVC++) 

Transfer

5.  Transfer the files and executables to your handheld by extracting the
    files into some folder on the CE device - that should do it. 


Notes

    If you want to use IBMGraphics make sure that you have a proper 
    font installed on the device that supports OEM character set 
    (for example, Lucida Console)


PROBLEMS


    If you discover a bug and wish to report it, or if you have comments
    or suggestions we recommend using our "Contact Us" web page at:
        http://www.nethack.org/common/contact.html

    If you don't have access to the web, or you want to send us a patch
    to the NetHack source code feel free to drop us a line c/o:
        DevTeam (at) nethack.org

    Happy NetHacking!