source: clfs-embedded/BOOK/final-system/common/toolchain.xml@ 38eeea5

Last change on this file since 38eeea5 was 8520e58, checked in by Jim Gifford <clfs@…>, 18 years ago

Text Updates for CLFS Embedded

  • 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.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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><literal>echo export CC=\""${CLFS_TARGET}-gcc\"" &gt;&gt; ~/.bashrc
17echo export CXX=\""${CLFS_TARGET}-g++\"" &gt;&gt; ~/.bashrc
18echo export AR=\""${CLFS_TARGET}-ar\"" &gt;&gt; ~/.bashrc
19echo export AS=\""${CLFS_TARGET}-as\"" &gt;&gt; ~/.bashrc
20echo export LD=\""${CLFS_TARGET}-ld\"" &gt;&gt; ~/.bashrc
21echo export RANLIB=\""${CLFS_TARGET}-ranlib\"" &gt;&gt; ~/.bashrc
22echo export READELF=\""${CLFS_TARGET}-readelf\"" &gt;&gt; ~/.bashrc
23echo export STRIP=\""${CLFS_TARGET}-strip\"" &gt;&gt; ~/.bashrc
24echo export BUILD=\""${BUILD}\"" &gt;&gt; ~/.bashrc
25source ~/.bashrc</literal></userinput></screen>
26
27</sect1>
Note: See TracBrowser for help on using the repository browser.