Changeset bcfbe5b in clfs-embedded for BOOK/cross-tools/mips
- Timestamp:
- Feb 26, 2011, 9:33:02 AM (14 years ago)
- Branches:
- master
- Children:
- d38764e
- Parents:
- a94e338 (diff), b54e969 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- BOOK/cross-tools/mips
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/mips/abi.xml
ra94e338 rbcfbe5b 25 25 <table> 26 26 <title>List of Build Variables</title> 27 <?dbfo table-width=" 3in" ?>27 <?dbfo table-width="5.5in" ?> 28 28 29 29 <tgroup cols="2"> 30 30 31 31 <colspec colnum="1" colwidth="1.5in" colname="ABI to Select"/> 32 <colspec colnum="2" colwidth="1.5in" colname="Variable Value"/> 32 <colspec colnum="2" colwidth="1.5in" colname="CLFS_ABI Value"/> 33 <colspec colnum="3" colwidth="2.5in" colname="Notes"/> 33 34 34 35 <thead> … … 36 37 <entry>ABI</entry> 37 38 <entry>CLFS_ABI=Value</entry> 39 <entry>Notes</entry> 38 40 </row> 39 41 </thead> … … 41 43 <tbody> 42 44 <row> 43 <entry> 32-Bit</entry>45 <entry>O32</entry> 44 46 <entry>32</entry> 47 <entry>For 32 bit CPUs only</entry> 45 48 </row> 46 49 <row> 47 50 <entry>N32</entry> 48 51 <entry>n32</entry> 52 <entry>For 64 bit CPUs operating in 32 bit mode</entry> 49 53 </row> 50 54 <row> 51 <entry> 64-Bit</entry>55 <entry>N64</entry> 52 56 <entry>64</entry> 57 <entry>For 64 bit CPUs operating in 64 bit mode</entry> 53 58 </row> 54 59 </tbody> -
BOOK/cross-tools/mips/gcc-final.xml
ra94e338 rbcfbe5b 43 43 --enable-languages=c --enable-c99 --enable-long-long \ 44 44 --with-mpfr=${CLFS}/cross-tools --with-gmp=${CLFS}/cross-tools \ 45 --with-mpc=${CLFS}/cross-tools --with-abi=${CLFS_ABI}</userinput></screen> 45 --with-mpc=${CLFS}/cross-tools --disable-multilib \ 46 --with-abi=${CLFS_ABI} --with-arch=mips${CLFS_MIPS_LEVEL} \ 47 --with-float=${CLFS_FLOAT} --with-endian=${CLFS_ENDIAN}</userinput></screen> 46 48 47 <variablelist os="af"> 48 <title>The meaning of the configure options not used previously:</title> 49 50 <varlistentry os="af1"> 51 <term><parameter>--enable-shared</parameter></term> 52 <listitem> 53 <para>Enables the creation of the shared libraries.</para> 54 </listitem> 55 </varlistentry> 56 57 <varlistentry os="af2"> 58 <term><parameter>--enable-c99</parameter></term> 59 <listitem> 60 <para>Enable C99 support for C programs.</para> 61 </listitem> 62 </varlistentry> 63 64 <varlistentry os="af3"> 65 <term><parameter>--enable-long-long</parameter></term> 66 <listitem> 67 <para>Enables long long support in the compiler.</para> 68 </listitem> 69 </varlistentry> 70 71 </variablelist> 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 href="../common/gcc-final.xml" 51 xpointer="xpointer(//*[@os='af'])"/> 72 52 73 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/mips/gcc-static.xml
ra94e338 rbcfbe5b 48 48 --disable-decimal-float --disable-libgomp --disable-libmudflap \ 49 49 --disable-libssp --disable-threads --enable-languages=c \ 50 --with-abi=${CLFS_ABI}</userinput></screen> 50 --disable-multilib --with-abi=${CLFS_ABI} --with-arch=mips${CLFS_MIPS_LEVEL} \ 51 --with-float=${CLFS_FLOAT} --with-endian=${CLFS_ENDIAN}</userinput></screen> 51 52 52 53 <!-- Common configure switches for all archs --> … … 62 63 <listitem> 63 64 <para>This option sets the ABI selected earlier.</para> 65 </listitem> 66 </varlistentry> 67 <varlistentry os="ag2"> 68 <term><parameter>--with-arch=mips${CLFS_MIPS_LEVEL}</parameter></term> 69 <listitem> 70 <para>This option sets the MIPS architecture ISA. Generic options 71 that apply to this book are of the form "mips${CLFS_MIPS_LEVEL}". 72 For example, "mips1" or "mips3". For a more expanded list of choices, 73 please see the GCC documentation at 74 <ulink url="http://gcc.gnu.org/onlinedocs/gcc/MIPS-Options.html" /></para> 75 </listitem> 76 </varlistentry> 77 <varlistentry os="ag3"> 78 <term><parameter>--with-float=${CLFS_FLOAT}</parameter></term> 79 <listitem> 80 <para>This option sets the floating point mode selected earlier.</para> 81 </listitem> 82 </varlistentry> 83 <varlistentry os="ag4"> 84 <term><parameter>--with-endian=${CLFS_ENDIAN}</parameter></term> 85 <listitem> 86 <para>This option sets the endianess of the CPU selected earlier. 87 GCC's configure scripts may not be able to determine the endianess 88 based only on the target triplet (as other architectures do).</para> 64 89 </listitem> 65 90 </varlistentry> -
BOOK/cross-tools/mips/variables.xml
ra94e338 rbcfbe5b 32 32 33 33 <para os="m1">Now you will need to set the MIPS LEVEL. This determines how your 34 uClibc is built. There are currently 5 MIPS ISA Levels. To keep things simple 35 we are only using 2. For more information, go to 36 <ulink url="http://www.linux-mips.org/wiki/Instruction_Set_Architecture"/></para>34 GCC and uClibc are built. There are currently 5 MIPS ISA Levels. To keep things 35 simple we are only using two. For more information, see 36 <ulink url="http://www.linux-mips.org/wiki/Instruction_Set_Architecture"/></para> 37 37 38 <screen os="m2"><userinput>export CLFS_MIPS_LEVEL="{mips level}"</userinput></screen> 38 <screen os="m2"><userinput>export CLFS_MIPS_LEVEL="<replaceable>[mips level]</replaceable>"</userinput></screen> 39 40 <para os="m3">We also need to select the floating point capability of the CPU. 41 If the CPU has built-in hardware for performing floating point calculations, 42 choose "hard", otherwise choose "soft":</para> 43 44 <screen os="m4"><userinput>export CLFS_FLOAT="<replaceable>[hard or soft]</replaceable>"</userinput></screen> 39 45 40 46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 46 52 echo export CLFS_ARCH=\""${CLFS_ARCH}\"" >> ~/.bashrc 47 53 echo export CLFS_ENDIAN=\""${CLFS_ENDIAN}\"" >> ~/.bashrc 48 echo export CLFS_MIPS_LEVEL=\""${CLFS_MIPS_LEVEL}\"" >> ~/.bashrc</userinput></screen> 54 echo export CLFS_MIPS_LEVEL=\""${CLFS_MIPS_LEVEL}\"" >> ~/.bashrc 55 echo export CLFS_FLOAT=\""${CLFS_FLOAT}\"" >> ~/.bashrc</userinput></screen> 49 56 50 57 <table os="i">
Note:
See TracChangeset
for help on using the changeset viewer.