source: clfs-embedded/BOOK/final-system/common/toolchain.xml @ 1b5a1d8

Last change on this file since 1b5a1d8 was ab3543d, checked in by Joe Ciccone <jciccone@…>, 13 years ago

Move BUILD storage into .bashrc from 7.3 to 6.3

BUILD gets defined in section 6.3 but doesn't get stored into clfs
user's .bashrc until section 7.3. If the clfs user logs out between
these two, the BUILD variable won't be kept.
This fixes that. Now BUILD gets stored in .bashrc right after it
gets defined the first time.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-system-toolchain">
9  <?dbhtml filename="toolchain.html"?>
10
11  <title>ToolChain Variables</title>
12
13  <para>Setup target-specific variables for the compiler
14  and linkers. This time we keep them:</para>
15
16<screen><userinput>echo <literal>export CC=\""${CLFS_TARGET}-gcc\""</literal> &gt;&gt; ~/.bashrc
17echo <literal>export CXX=\""${CLFS_TARGET}-g++\""</literal> &gt;&gt; ~/.bashrc
18echo <literal>export AR=\""${CLFS_TARGET}-ar\""</literal> &gt;&gt; ~/.bashrc
19echo <literal>export AS=\""${CLFS_TARGET}-as\""</literal> &gt;&gt; ~/.bashrc
20echo <literal>export LD=\""${CLFS_TARGET}-ld\""</literal> &gt;&gt; ~/.bashrc
21echo <literal>export RANLIB=\""${CLFS_TARGET}-ranlib\""</literal> &gt;&gt; ~/.bashrc
22echo <literal>export READELF=\""${CLFS_TARGET}-readelf\""</literal> &gt;&gt; ~/.bashrc
23echo <literal>export STRIP=\""${CLFS_TARGET}-strip\""</literal> &gt;&gt; ~/.bashrc
24source ~/.bashrc</userinput></screen>
25
26</sect1>
Note: See TracBrowser for help on using the repository browser.