|
182 | 182 |
|
183 | 183 | <li>Linux on x86 (Pentium and above)
|
184 | 184 | <ul>
|
185 |
| - <li>Approximately 760 MB of Free Disk Space |
| 185 | + <li>Approximately 918 MB of Free Disk Space |
186 | 186 | <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> |
190 | 190 | </ul></li>
|
191 |
| - </ul></li> |
| 191 | + </ul> |
| 192 | + </li> |
| 193 | + |
| 194 | + <p></p> |
192 | 195 |
|
193 | 196 | <li>Solaris on SparcV9 (Ultrasparc)
|
194 | 197 | <ul>
|
195 |
| - <li>Approximately 1.24 GB of Free Disk Space |
| 198 | + <li>Approximately 1.52 GB of Free Disk Space |
196 | 199 | <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> |
200 | 203 | </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> |
202 | 232 |
|
| 233 | + </li> |
203 | 234 | </ul>
|
204 | 235 |
|
205 | 236 | <p>The LLVM suite <i>may</i> compile on other platforms, but it is not
|
|
253 | 284 |
|
254 | 285 | </ul>
|
255 | 286 |
|
256 |
| - |
257 | 287 | <p>The remainder of this guide is meant to get you up and running with
|
258 | 288 | LLVM and to give you some basic information about the LLVM environment.
|
259 | 289 | A <a href="#starting">complete guide to installation</a> is provided in the
|
|
348 | 378 |
|
349 | 379 | <p>
|
350 | 380 | 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 |
352 | 383 | file is a TAR archive that is compressed with the gzip program.
|
353 | 384 | </p>
|
354 | 385 |
|
355 |
| -<p> The three files are as follows: |
| 386 | +<p> The files are as follows: |
356 | 387 | <dl compact>
|
357 |
| - <dt>llvm.tar.gz |
| 388 | + <dt>llvm-1.1.tar.gz |
358 | 389 | <dd>This is the source code to the LLVM suite.
|
359 | 390 | <p>
|
360 | 391 |
|
361 |
| - <dt>cfrontend.sparc.tar.gz |
| 392 | + <dt>cfrontend-1.1.sparc-sun-solaris2.8.tar.gz |
362 | 393 | <dd>This is the binary release of the GCC front end for Solaris/Sparc.
|
363 | 394 | <p>
|
364 | 395 |
|
365 |
| - <dt>cfrontend.x86.tar.gz |
| 396 | + <dt>cfrontend-1.1.i686-redhat-linux-gnu.tar.gz |
366 | 397 | <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. |
367 | 406 | </dl>
|
368 | 407 |
|
369 | 408 | </div>
|
|
391 | 430 | directory and fully populate it with the LLVM source code, Makefiles,
|
392 | 431 | test directories, and local copies of documentation files.</p>
|
393 | 432 |
|
| 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 | + |
394 | 447 | <p>Note that the GCC front end is not included in the CVS repository. You
|
395 | 448 | should have downloaded the binary distribution for your platform.</p>
|
396 | 449 |
|
|
412 | 465 |
|
413 | 466 | <ol>
|
414 | 467 | <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 |
416 | 469 | -</tt></li>
|
417 | 470 | </ol>
|
418 | 471 |
|
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> |
421 | 474 |
|
422 | 475 | <p><tt>cd cfrontend/sparc<br>
|
423 | 476 | ./fixheaders</tt></p>
|
|
443 | 496 | <p>Once checked out from the CVS repository, the LLVM suite source code must be
|
444 | 497 | configured via the <tt>configure</tt> script. This script sets variables in
|
445 | 498 | <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> |
447 | 501 |
|
448 | 502 | <p>The following environment variables are used by the <tt>configure</tt>
|
449 | 503 | script to configure the build system:</p>
|
|
477 | 531 | <dt><i>--with-llvmgccdir=LLVMGCCDIR</i>
|
478 | 532 | <dd>
|
479 | 533 | 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 |
481 | 535 | absolute pathname.
|
482 | 536 | <p>
|
483 | 537 | <dt><i>--enable-optimized</i>
|
|
488 | 542 | <p>
|
489 | 543 | <dt><i>--enable-jit</i>
|
490 | 544 | <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 |
492 | 547 | on all platforms. The default is dependent on platform, so it is best
|
493 | 548 | to explicitly enable it if you want it.
|
494 | 549 | <p>
|
|
521 | 576 | <tt>LLVM_LIB_SEARCH_PATH</tt> environment variable in your startup scripts.
|
522 | 577 | This environment variable is used to locate "system" libraries like
|
523 | 578 | "<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 |
526 | 581 | <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 |
528 | 583 | version of the GCC front end on our research machines.</p>
|
529 | 584 |
|
530 | 585 | </div>
|
|
0 commit comments