Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/docs
Date: Thu, 21 Jun 2007 09:58:36 -0700 (PDT)	[thread overview]
Message-ID: <20070621165836.AE9B748684@busybox.net> (raw)

Author: aldot
Date: 2007-06-21 09:58:36 -0700 (Thu, 21 Jun 2007)
New Revision: 18884

Log:
- update docs to mention the new sysroot support.


Modified:
   trunk/buildroot/docs/buildroot.html


Changeset:
Modified: trunk/buildroot/docs/buildroot.html
===================================================================
--- trunk/buildroot/docs/buildroot.html	2007-06-21 13:44:53 UTC (rev 18883)
+++ trunk/buildroot/docs/buildroot.html	2007-06-21 16:58:36 UTC (rev 18884)
@@ -362,7 +362,7 @@
       default). This is where the cross-compilation toolchain will be
       installed. If you want to use the same cross-compilation toolchain for
       other purposes, such as compiling third-party applications, you can add
-      <code>build_ARCH/staging_dir/bin</code> to your PATH, and then use
+      <code>build_ARCH/staging_dir/usr/bin</code> to your PATH, and then use
       <code>arch-linux-gcc</code> to compile your application. In order to
       setup this staging directory, it first removes it, and then it creates
       various subdirectories and symlinks inside it.</li>
@@ -390,7 +390,7 @@
 
     <p>The toolchain generated by Buildroot by default is located in
     <code>build_ARCH/staging_dir/</code>. The simplest way to use it
-    is to add <code>build_ARCH/staging_dir/bin/</code> to your PATH
+    is to add <code>build_ARCH/staging_dir/usr/bin/</code> to your PATH
     environnement variable, and then to use
     <code>arch-linux-gcc</code>, <code>arch-linux-objdump</code>,
     <code>arch-linux-ld</code>, etc.</p>
@@ -401,7 +401,7 @@
     <code>~/buildroot/</code>) :</p>
 
 <pre>
-export PATH=&quot;$PATH:~/buildroot/build_mips/staging_dir/bin/&quot;
+export PATH=&quot;$PATH:~/buildroot/build_mips/staging_dir/usr/bin/&quot;
 </pre>
 
     <p>Then you can simply do :</p>
@@ -410,12 +410,15 @@
 mips-linux-gcc -o foo foo.c
 </pre>
 
-    <p><b>Important</b> : do not try to move the toolchain to an other
+    <p><b>Important</b> : do not try to move a gcc-3.x toolchain to an other
     directory, it won't work. There are some hard-coded paths in the
     <i>gcc</i> configuration. If the default toolchain directory
     doesn't suit your needs, please refer to the <a
     href="#toolchain_standalone">Using the uClibc toolchain outside of
     buildroot</a> section.</p>
+    <p>If you are using a current gcc-4.x, then use --sysroot and -isysroot
+    since these toolchains have fully functional sysroot support. No
+    hardcoded paths do exist in these configurations.</p>
 
     <h2><a name="toolchain_standalone" id="toolchain_standalone"></a>Using the
     uClibc toolchain outside of buildroot</h2>
@@ -424,10 +427,11 @@
     <code>build_ARCH/staging_dir/</code>. But sometimes, it may be useful to
     install it somewhere else, so that it can be used to compile other programs
     or by other users. Moving the <code>build_ARCH/staging_dir/</code>
-    directory elsewhere is <b>not possible</b>, because they are some hardcoded
-    paths in the toolchain configuration.</p>
+    directory elsewhere is <b>not possible if using gcc-3.x</b>, because they are some hardcoded
+    paths in the toolchain configuration. This works, thanks to sysroot support, with current,
+    stable gcc-4.x toolchains, of course.</p>
 
-    <p>If you want to use the generated toolchain for other purposes,
+    <p>If you want to use the generated gcc-3.x toolchain for other purposes,
     you can configure Buildroot to generate it elsewhere using the
     option of the configuration tool : <code>Build options -&gt;
     Toolchain and header file location</code>, which defaults to

             reply	other threads:[~2007-06-21 16:58 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21 16:58 aldot at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-03-02 10:09 [Buildroot] svn commit: trunk/buildroot/docs jacmet at uclibc.org
2009-03-02  8:34 jacmet at uclibc.org
2009-02-12  9:33 jacmet at uclibc.org
2009-02-09 16:44 jacmet at uclibc.org
2009-01-31 23:02 jacmet at uclibc.org
2009-01-26 20:26 ulf at uclibc.org
2009-01-23 21:06 jacmet at uclibc.org
2009-01-16 19:45 jacmet at uclibc.org
2009-01-16 21:02 ` Markus Heidelberg
2009-01-16 19:45 jacmet at uclibc.org
2009-01-15 14:50 jacmet at uclibc.org
2009-01-15 14:50 jacmet at uclibc.org
2009-01-15 14:50 jacmet at uclibc.org
2009-01-15 14:50 jacmet at uclibc.org
2009-01-15 14:50 jacmet at uclibc.org
2009-01-06 16:30 ulf at uclibc.org
2009-01-06 16:34 ` Peter Korsgaard
2008-12-18  0:48 root at uclibc.org
2008-12-16  9:00 jacmet at uclibc.org
2008-12-15 22:35 tpetazzoni at uclibc.org
2008-12-15 22:44 ` Thomas Petazzoni
2008-12-16  9:03   ` Peter Korsgaard
2008-12-16  9:00 ` Peter Korsgaard
2008-12-15 22:14 tpetazzoni at uclibc.org
2008-12-08  8:15 jacmet at uclibc.org
2008-10-14 16:20 aldot at uclibc.org
2008-10-18  6:58 ` Peter Korsgaard
2008-10-06  9:11 jacmet at uclibc.org
2008-06-23 13:40 jacmet at uclibc.org
2008-03-13 17:16 ninevoltz at uclibc.org
2008-03-13 18:25 ` Peter Korsgaard
2007-09-27 21:32 aldot at uclibc.org
2007-09-19  9:08 aldot at uclibc.org
2007-09-02 17:44 aldot at uclibc.org
2007-08-24  5:28 ulf at uclibc.org
2007-08-16 21:54 ulf at uclibc.org
2007-08-12 23:26 ulf at uclibc.org
2007-08-11 21:58 ulf at uclibc.org
2007-08-01  8:11 ulf at uclibc.org
2007-07-12 17:04 ulf at uclibc.org
2007-07-12 16:53 ulf at uclibc.org
2007-07-12 14:46 ulf at uclibc.org
2007-07-12 14:43 ulf at uclibc.org
2007-07-12 15:07 ` Bernhard Fischer
2007-03-13 12:59 aldot at uclibc.org
2007-01-21 21:49 aldot at uclibc.org
2007-01-19 19:28 aldot at uclibc.org
2007-01-19 19:21 aldot at uclibc.org
2007-01-19 19:20 aldot at uclibc.org
2007-01-19 13:32 aldot at uclibc.org
2007-01-19 12:35 aldot at uclibc.org
2007-01-19 11:00 aldot at uclibc.org
2007-01-19 10:57 aldot at uclibc.org
2007-01-19  9:47 aldot at uclibc.org
2007-01-19  9:24 aldot at uclibc.org
2007-01-17 10:07 aldot at uclibc.org
2006-12-22 12:11 aldot at uclibc.org
2006-11-05 11:21 aldot at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070621165836.AE9B748684@busybox.net \
    --to=aldot@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox