mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-23 16:30:00 +00:00
GettingStarted: improve formatting and document that configure checks for
'clang' to use it as the compiler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171630 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
36e4bc406c
commit
8b2bcf4f75
@ -71,27 +71,24 @@ Here's the short story for getting up and running quickly with LLVM:
|
|||||||
* ``../llvm/configure [options]``
|
* ``../llvm/configure [options]``
|
||||||
Some common options:
|
Some common options:
|
||||||
|
|
||||||
* ``--prefix=directory`` ---
|
* ``--prefix=directory`` --- Specify for *directory* the full pathname of
|
||||||
|
where you want the LLVM tools and libraries to be installed (default
|
||||||
|
``/usr/local``).
|
||||||
|
|
||||||
Specify for *directory* the full pathname of where you want the LLVM
|
* ``--enable-optimized`` --- Compile with optimizations enabled (default
|
||||||
tools and libraries to be installed (default ``/usr/local``).
|
is NO).
|
||||||
|
|
||||||
* ``--enable-optimized`` ---
|
* ``--enable-assertions`` --- Compile with assertion checks enabled
|
||||||
|
(default is YES).
|
||||||
Compile with optimizations enabled (default is NO).
|
|
||||||
|
|
||||||
* ``--enable-assertions`` ---
|
|
||||||
|
|
||||||
Compile with assertion checks enabled (default is YES).
|
|
||||||
|
|
||||||
* ``make [-j]`` --- The ``-j`` specifies the number of jobs (commands) to run
|
* ``make [-j]`` --- The ``-j`` specifies the number of jobs (commands) to run
|
||||||
simultaneously. This builds both LLVM and Clang for Debug+Asserts mode.
|
simultaneously. This builds both LLVM and Clang for Debug+Asserts mode.
|
||||||
The --enabled-optimized configure option is used to specify a Release
|
The ``--enabled-optimized`` configure option is used to specify a Release
|
||||||
build.
|
build.
|
||||||
|
|
||||||
* ``make check-all`` --- This run the regression tests to ensure everything
|
* ``make check-all`` --- This run the regression tests to ensure everything
|
||||||
is in working order.
|
is in working order.
|
||||||
|
|
||||||
* ``make update`` --- This command is used to update all the svn repositories
|
* ``make update`` --- This command is used to update all the svn repositories
|
||||||
at once, rather then having to ``cd`` into the individual repositories and
|
at once, rather then having to ``cd`` into the individual repositories and
|
||||||
running ``svn update``.
|
running ``svn update``.
|
||||||
@ -664,14 +661,15 @@ configure the build system:
|
|||||||
| Variable | Purpose |
|
| Variable | Purpose |
|
||||||
+============+===========================================================+
|
+============+===========================================================+
|
||||||
| CC | Tells ``configure`` which C compiler to use. By default, |
|
| CC | Tells ``configure`` which C compiler to use. By default, |
|
||||||
| | ``configure`` will look for the first GCC C compiler in |
|
| | ``configure`` will check ``PATH`` for ``clang`` and GCC C |
|
||||||
| | ``PATH``. Use this variable to override ``configure``\'s |
|
| | compilers (in this order). Use this variable to override |
|
||||||
| | default behavior. |
|
| | ``configure``\'s default behavior. |
|
||||||
+------------+-----------------------------------------------------------+
|
+------------+-----------------------------------------------------------+
|
||||||
| CXX | Tells ``configure`` which C++ compiler to use. By |
|
| CXX | Tells ``configure`` which C++ compiler to use. By |
|
||||||
| | default, ``configure`` will look for the first GCC C++ |
|
| | default, ``configure`` will check ``PATH`` for |
|
||||||
| | compiler in ``PATH``. Use this variable to override |
|
| | ``clang++`` and GCC C++ compilers (in this order). Use |
|
||||||
| | ``configure``'s default behavior. |
|
| | this variable to override ``configure``'s default |
|
||||||
|
| | behavior. |
|
||||||
+------------+-----------------------------------------------------------+
|
+------------+-----------------------------------------------------------+
|
||||||
|
|
||||||
The following options can be used to set or enable LLVM specific options:
|
The following options can be used to set or enable LLVM specific options:
|
||||||
|
Loading…
Reference in New Issue
Block a user