Update information on canadian cross builds
authorJim Grosbach <grosbach@apple.com>
Fri, 17 Apr 2009 17:25:16 +0000 (17:25 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 17 Apr 2009 17:25:16 +0000 (17:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69358 91177308-0d34-0410-b5e6-96231b3b80d8

docs/GettingStarted.html

index 5dd39c223053a4588a9684008a93a0ac219db93e..87a143fd0ec25a1390c8b0732dd6f3fcd61c4630 100644 (file)
@@ -1036,43 +1036,16 @@ that directory that is out of date.</p>
 </div>
 
 <div class="doc_text">
-  <p>It is possible to cross-compile LLVM. That is, you can create LLVM
-  executables and libraries for a platform different than the one one which you
-  are compiling.  To do this, a few additional steps are 
-  required. <sup><a href="#ccn_1">1</a></sup> To cross-compile LLVM, use
-  these instructions:</p>
-  <ol>
-    <li>Configure and build LLVM as a native compiler. You will need
-    just <tt>TableGen</tt> from that build.
-      <ul>
-        <li>If you have <tt>$LLVM_OBJ_ROOT=$LLVM_SRC_ROOT</tt> just execute 
-          <tt>make -C utils/TableGen</tt> after configuring.</li>
-        <li>Otherwise you will need to monitor building process and terminate 
-          it just after <tt>TableGen</tt> was built.</li>
-      </ul>
-    </li>
-    <li>Copy the TableGen binary to somewhere safe (out of your build tree).
-    </li>
-    <li>Configure LLVM to build with a cross-compiler. To do this, supply the
-    configure script with <tt>--build</tt> and <tt>--host</tt> options that
-    are different. The values of these options must be legal target triples 
-    that your GCC compiler supports.</li>
-    <li>Put the saved <tt>TableGen</tt> executable into the
-    into <tt>$LLVM_OBJ_ROOT/{BUILD_TYPE}/bin</tt> directory (e.g. into 
-    <tt>.../Release/bin</tt> for a Release build).</li>
-    <li>Build LLVM  as usual.</li>
-  </ol>
-  <p>The result of such a build will produce executables that are not executable
-  on your build host (--build option) but can be executed on your compile host
+  <p>It is possible to cross-compile LLVM itself. That is, you can create LLVM
+  executables and libraries to be hosted on a platform different from the
+  platform where they are build (a Canadian Cross build). To configure a
+  cross-compile, supply the configure script with <tt>--build</tt> and
+  <tt>--host</tt> options that are different. The values of these options must
+  be legal target triples that your GCC compiler supports.</p>
+
+  <p>The result of such a build is executables that are not runnable on
+  on the build host (--build option) but can be executed on the compile host
   (--host option).</p>
-  <p><b>Notes:</b></p>
-  <div class="doc_notes">
-    <ol>
-      <li><a name="ccn_1">Cross-compiling</a> was tested only with Linux as 
-      build platform and Windows as host using mingw32 cross-compiler. Other
-      combinations have not been tested.</li>
-    </ol>
-  </div>
 </div>
 
 <!-- ======================================================================= -->