Cleared the top bytes for use in arrays.
[fw/sdcc] / doc / sdccman.html / node12.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2
3 <!--Converted with LaTeX2HTML 99.1 release (March 30, 1999)
4 original version by:  Nikos Drakos, CBLU, University of Leeds
5 * revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
6 * with significant contributions from:
7   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 <HTML>
9 <HEAD>
10 <TITLE>2.2 Windows Installation</TITLE>
11 <META NAME="description" CONTENT="2.2 Windows Installation">
12 <META NAME="keywords" CONTENT="sdccman">
13 <META NAME="resource-type" CONTENT="document">
14 <META NAME="distribution" CONTENT="global">
15
16 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
17 <META NAME="Generator" CONTENT="LaTeX2HTML v99.1 release">
18 <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
19
20 <LINK REL="STYLESHEET" HREF="sdccman.css">
21
22 <LINK REL="next" HREF="node13.html">
23 <LINK REL="previous" HREF="node11.html">
24 <LINK REL="up" HREF="node10.html">
25 <LINK REL="next" HREF="node13.html">
26 </HEAD>
27
28 <BODY >
29 <!--Navigation Panel-->
30 <A NAME="tex2html382"
31  HREF="node13.html">
32 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A> 
33 <A NAME="tex2html376"
34  HREF="node10.html">
35 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A> 
36 <A NAME="tex2html370"
37  HREF="node11.html">
38 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A> 
39 <A NAME="tex2html378"
40  HREF="node1.html">
41 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents_motif.gif"></A> 
42 <A NAME="tex2html380"
43  HREF="node61.html">
44 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index_motif.gif"></A> 
45 <BR>
46 <B> Next:</B> <A NAME="tex2html383"
47  HREF="node13.html">2.3 Testing out the</A>
48 <B> Up:</B> <A NAME="tex2html377"
49  HREF="node10.html">2. Installation</A>
50 <B> Previous:</B> <A NAME="tex2html371"
51  HREF="node11.html">2.1 Linux/Unix Installation</A>
52  &nbsp <B>  <A NAME="tex2html379"
53  HREF="node1.html">Contents</A></B> 
54  &nbsp <B>  <A NAME="tex2html381"
55  HREF="node61.html">Index</A></B> 
56 <BR>
57 <BR>
58 <!--End of Navigation Panel-->
59 <!--Table of Child-Links-->
60 <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
61
62 <UL>
63 <LI><A NAME="tex2html384"
64  HREF="node12.html#SECTION00032100000000000000">2.2.1 Windows Install Using a Binary Package</A>
65 <LI><A NAME="tex2html385"
66  HREF="node12.html#SECTION00032200000000000000">2.2.2 Windows Install Using Cygwin</A>
67 </UL>
68 <!--End of Table of Child-Links-->
69 <HR>
70
71 <H2><A NAME="SECTION00032000000000000000">
72 2.2 Windows Installation</A>
73 </H2>
74
75 <P>
76  
77 <I>&lt;pending: is this complete? where is borland, mingw&gt;</I>
78 <BR>
79 <BR>
80 For installation under Windows you first need to pick between a pre-compiled
81 binary package, or installing the source package along with the Cygwin
82 package. The binary package is the quickest to install, while the
83 Cygwin package includes all of the open source power tools used to
84 compile the complete SDCC source package in the Windows environment.
85 If you are not familiar with the Unix command line environment, you
86 may want to read the section on additional information for Windows
87 users prior to your initial installation.
88
89 <P>
90
91 <H3><A NAME="SECTION00032100000000000000">
92 2.2.1 Windows Install Using a Binary Package</A>
93 </H3>
94
95 <P>
96
97 <OL>
98 <LI>Download the binary package and unpack it using your favorite unpacking
99 tool (gunzip, WinZip, etc). This should unpack to a group of sub-directories.
100 An example directory structure after unpacking is: c:&#92;usr&#92;local&#92;bin
101 for the executables, c:&#92;usr&#92;local&#92;share&#92;sdcc&#92;include
102 and c:&#92;usr&#92;local&#92;share&#92;sdcc&#92;lib
103 for the include and libraries.</LI>
104 <LI>Adjust your environment PATH to include the location of the bin directory.
105 For example, make a setsdcc.bat file with the following: set PATH=c:&#92;usr&#92;local&#92;bin;%PATH%</LI>
106 <LI>When you compile with sdcc, you may need to specify the location of
107 the lib and include folders. For example, sdcc -I c:&#92;usr&#92;local&#92;share&#92;sdcc&#92;include
108 -L c:&#92;usr&#92;local&#92;share&#92;sdcc&#92;lib&#92;small
109 test.c</LI>
110 </OL>
111
112 <P>
113
114 <H3><A NAME="SECTION00032200000000000000">
115 2.2.2 Windows Install Using Cygwin</A>
116 </H3>
117
118 <P>
119
120 <OL>
121 <LI>Download and install the cygwin package from the redhat site http://sources.redhat.com/cygwin/.
122 Currently, this involved downloading a small install program which
123 then automates downloading and installing selected parts of the package
124 (a large 80M byte sized dowload for the whole thing). </LI>
125 <LI>Bring up a Unix/Bash command line terminal from the Cygwin menu.</LI>
126 <LI>Follow the instructions in the preceding Linux/Unix installation section.</LI>
127 </OL>
128
129 <P>
130 <HR>
131 <!--Navigation Panel-->
132 <A NAME="tex2html382"
133  HREF="node13.html">
134 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A> 
135 <A NAME="tex2html376"
136  HREF="node10.html">
137 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A> 
138 <A NAME="tex2html370"
139  HREF="node11.html">
140 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A> 
141 <A NAME="tex2html378"
142  HREF="node1.html">
143 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents_motif.gif"></A> 
144 <A NAME="tex2html380"
145  HREF="node61.html">
146 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index_motif.gif"></A> 
147 <BR>
148 <B> Next:</B> <A NAME="tex2html383"
149  HREF="node13.html">2.3 Testing out the</A>
150 <B> Up:</B> <A NAME="tex2html377"
151  HREF="node10.html">2. Installation</A>
152 <B> Previous:</B> <A NAME="tex2html371"
153  HREF="node11.html">2.1 Linux/Unix Installation</A>
154  &nbsp <B>  <A NAME="tex2html379"
155  HREF="node1.html">Contents</A></B> 
156  &nbsp <B>  <A NAME="tex2html381"
157  HREF="node61.html">Index</A></B> 
158 <!--End of Navigation Panel-->
159 <ADDRESS>
160 <I>Johan Knol</I>
161 <BR><I>2001-07-13</I>
162 </ADDRESS>
163 </BODY>
164 </HTML>