Skip to content

Commit 0dd5964

Browse files
author
John Criswell
committed
Updated for release 1.1.
Added information on FreeBSD and MacOS X. llvm-svn: 10484
1 parent e70acef commit 0dd5964

File tree

1 file changed

+80
-25
lines changed

1 file changed

+80
-25
lines changed

llvm/docs/GettingStarted.html

Lines changed: 80 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -182,24 +182,55 @@
182182

183183
<li>Linux on x86 (Pentium and above)
184184
<ul>
185-
<li>Approximately 760 MB of Free Disk Space
185+
<li>Approximately 918 MB of Free Disk Space
186186
<ul>
187-
<li>Source code: 30 MB</li>
188-
<li>Object code: 670 MB</li>
189-
<li>GCC front end: 60 MB</li>
187+
<li>Source code: 28 MB</li>
188+
<li>Object code: 850 MB</li>
189+
<li>GCC front end: 40 MB</li>
190190
</ul></li>
191-
</ul></li>
191+
</ul>
192+
</li>
193+
194+
<p></p>
192195

193196
<li>Solaris on SparcV9 (Ultrasparc)
194197
<ul>
195-
<li>Approximately 1.24 GB of Free Disk Space
198+
<li>Approximately 1.52 GB of Free Disk Space
196199
<ul>
197-
<li>Source code: 30 MB</li>
198-
<li>Object code: 1000 MB</li>
199-
<li>GCC front end: 210 MB</li>
200+
<li>Source code: 28 MB</li>
201+
<li>Object code: 1470 MB</li>
202+
<li>GCC front end: 50 MB</li>
200203
</ul></li>
201-
</ul></li>
204+
</ul>
205+
</li>
206+
207+
<p></p>
208+
209+
<li>FreeBSD on x86 (Pentium and above)
210+
<ul>
211+
<li>Approximately 918 MB of Free Disk Space
212+
<ul>
213+
<li>Source code: 28 MB</li>
214+
<li>Object code: 850 MB</li>
215+
<li>GCC front end: 40 MB</li>
216+
</ul></li>
217+
</ul>
218+
</li>
219+
220+
<p></p>
221+
222+
<li>MacOS X on PowerPC
223+
<ul>
224+
<li>No native code generation
225+
<li>Approximately 1.20 GB of Free Disk Space
226+
<ul>
227+
<li>Source code: 28 MB</li>
228+
<li>Object code: 1160 MB</li>
229+
<li>GCC front end: 40 MB</li>
230+
</ul></li>
231+
</ul>
202232

233+
</li>
203234
</ul>
204235

205236
<p>The LLVM suite <i>may</i> compile on other platforms, but it is not
@@ -253,7 +284,6 @@
253284

254285
</ul>
255286

256-
257287
<p>The remainder of this guide is meant to get you up and running with
258288
LLVM and to give you some basic information about the LLVM environment.
259289
A <a href="#starting">complete guide to installation</a> is provided in the
@@ -348,22 +378,31 @@
348378

349379
<p>
350380
If you have the LLVM distribution, you will need to unpack it before you
351-
can begin to compile it. LLVM is distributed as a set of three files. Each
381+
can begin to compile it. LLVM is distributed as a set of two files: the LLVM
382+
suite and the LLVM GCC front end compiled for your platform. Each
352383
file is a TAR archive that is compressed with the gzip program.
353384
</p>
354385

355-
<p> The three files are as follows:
386+
<p> The files are as follows:
356387
<dl compact>
357-
<dt>llvm.tar.gz
388+
<dt>llvm-1.1.tar.gz
358389
<dd>This is the source code to the LLVM suite.
359390
<p>
360391

361-
<dt>cfrontend.sparc.tar.gz
392+
<dt>cfrontend-1.1.sparc-sun-solaris2.8.tar.gz
362393
<dd>This is the binary release of the GCC front end for Solaris/Sparc.
363394
<p>
364395

365-
<dt>cfrontend.x86.tar.gz
396+
<dt>cfrontend-1.1.i686-redhat-linux-gnu.tar.gz
366397
<dd>This is the binary release of the GCC front end for Linux/x86.
398+
<p>
399+
400+
<dt>cfrontend-1.1.i386-unknown-freebsd5.1.tar.gz
401+
<dd>This is the binary release of the GCC front end for FreeBSD/x86.
402+
<p>
403+
404+
<dt>cfrontend-1.1.powerpc-apple-darwin7.0.0.tar.gz
405+
<dd>This is the binary release of the GCC front end for MacOS X/PPC.
367406
</dl>
368407

369408
</div>
@@ -391,6 +430,20 @@
391430
directory and fully populate it with the LLVM source code, Makefiles,
392431
test directories, and local copies of documentation files.</p>
393432

433+
<p>
434+
If you want to get a specific release (as opposed to the most recent revision),
435+
you can specify a label. The following releases have the following label:
436+
<ul>
437+
<li>
438+
Release 1.1: <b>RELEASE_11</b>
439+
</li>
440+
441+
<li>
442+
Release 1.0: <b>RELEASE_1</b>
443+
</li>
444+
</ul>
445+
</p>
446+
394447
<p>Note that the GCC front end is not included in the CVS repository. You
395448
should have downloaded the binary distribution for your platform.</p>
396449

@@ -412,12 +465,12 @@
412465

413466
<ol>
414467
<li><tt>cd <i>where-you-want-the-front-end-to-live</i></tt></li>
415-
<li><tt>gunzip --stdout cfrontend.<i>platform</i>.tar.gz | tar -xvf
468+
<li><tt>gunzip --stdout cfrontend-<i>version</i>.<i>platform</i>.tar.gz | tar -xvf
416469
-</tt></li>
417470
</ol>
418471

419-
<p>If you are on a Sparc/Solaris machine, you will need to fix the header
420-
files:</p>
472+
<p>If you are using Solaris/Sparc or MacOS X/PPC, you will need to fix the
473+
header files:</p>
421474

422475
<p><tt>cd cfrontend/sparc<br>
423476
./fixheaders</tt></p>
@@ -443,7 +496,8 @@
443496
<p>Once checked out from the CVS repository, the LLVM suite source code must be
444497
configured via the <tt>configure</tt> script. This script sets variables in
445498
<tt>llvm/Makefile.config</tt> and <tt>llvm/include/Config/config.h</tt>. It
446-
also populates <i>OBJ_ROOT</i> with the Makefiles needed to build LLVM.</p>
499+
also populates <i>OBJ_ROOT</i> with the Makefiles needed to begin building
500+
LLVM.</p>
447501

448502
<p>The following environment variables are used by the <tt>configure</tt>
449503
script to configure the build system:</p>
@@ -477,7 +531,7 @@
477531
<dt><i>--with-llvmgccdir=LLVMGCCDIR</i>
478532
<dd>
479533
Path to the ___location where the LLVM C front end binaries and
480-
associated libraries will be installed. This must be specified as an
534+
associated libraries were installed. This must be specified as an
481535
absolute pathname.
482536
<p>
483537
<dt><i>--enable-optimized</i>
@@ -488,7 +542,8 @@
488542
<p>
489543
<dt><i>--enable-jit</i>
490544
<dd>
491-
Compile the Just In Time (JIT) functionality. This is not available
545+
Compile the Just In Time (JIT) compiler functionality. This is not
546+
available
492547
on all platforms. The default is dependent on platform, so it is best
493548
to explicitly enable it if you want it.
494549
<p>
@@ -521,10 +576,10 @@
521576
<tt>LLVM_LIB_SEARCH_PATH</tt> environment variable in your startup scripts.
522577
This environment variable is used to locate "system" libraries like
523578
"<tt>-lc</tt>" and "<tt>-lm</tt>" when linking. This variable should be set to
524-
the absolute path for the bytecode-libs subdirectory of the GCC front end
525-
install, or <i>LLVMGCCDIR</i>/bytecode-libs. For example, one might set
579+
the absolute path of the <tt>bytecode-libs</tt> subdirectory of the GCC front
580+
end, or <i>LLVMGCCDIR</i>/<tt>bytecode-libs</tt>. For example, one might set
526581
<tt>LLVM_LIB_SEARCH_PATH</tt> to
527-
<tt>/home/vadve/lattner/local/x86/llvm-gcc/bytecode-libs</tt> for the X86
582+
<tt>/home/vadve/lattner/local/x86/llvm-gcc/bytecode-libs</tt> for the x86
528583
version of the GCC front end on our research machines.</p>
529584

530585
</div>

0 commit comments

Comments
 (0)