- Timestamp:
- Nov 12, 2006, 1:39:58 AM (18 years ago)
- Branches:
- master
- Children:
- 4bdf1d0
- Parents:
- 02ef21b
- Location:
- BOOK
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/mips/uclibc-headers.xml
r02ef21b r0bd108d 48 48 49 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 href=" ../x86/uclibc-headers.xml"51 xpointer="xpointer(//*[@os=' d1'])"/>50 href="uclibc.xml" 51 xpointer="xpointer(//*[@os='g'])"/> 52 52 53 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 56 56 57 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 58 href="../x86/uclibc-headers.xml" 59 xpointer="xpointer(//*[@os='d1'])"/> 60 61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 58 62 href="uclibc.xml" 59 xpointer="xpointer(//*[@os='i'])"/> 63 xpointer="xpointer(//*[@os='j'])"/> 64 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 66 href="uclibc.xml" 67 xpointer="xpointer(//*[@os='k'])"/> 60 68 61 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 67 75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 68 76 href="uclibc.xml" 69 xpointer="xpointer(//*[@os=' l'])"/>77 xpointer="xpointer(//*[@os='n'])"/> 70 78 71 79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 72 80 href="uclibc.xml" 73 xpointer="xpointer(//*[@os=' m'])"/>81 xpointer="xpointer(//*[@os='o'])"/> 74 82 75 83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 76 84 href="uclibc.xml" 77 xpointer="xpointer(//*[@os=' n'])"/>85 xpointer="xpointer(//*[@os='p'])"/> 78 86 79 87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/cross-tools/mips/uclibc.xml
r02ef21b r0bd108d 63 63 xpointer="xpointer(//*[@os='j'])"/> 64 64 65 <screen os="k"><userinput>make TARGET_ARCH=mips</userinput></screen> 65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 66 href="../x86/uclibc.xml" 67 xpointer="xpointer(//*[@os='k'])"/> 66 68 67 69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 69 71 xpointer="xpointer(//*[@os='l'])"/> 70 72 71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 72 href="../x86/uclibc.xml" 73 xpointer="xpointer(//*[@os='m'])"/> 73 <screen os="m"><userinput>make TARGET_ARCH=mips</userinput></screen> 74 74 75 75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 80 80 href="../x86/uclibc.xml" 81 81 xpointer="xpointer(//*[@os='o'])"/> 82 83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 84 href="../x86/uclibc.xml" 85 xpointer="xpointer(//*[@os='p'])"/> 86 87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 88 href="../x86/uclibc.xml" 89 xpointer="xpointer(//*[@os='q'])"/> 82 90 83 91 </sect2> -
BOOK/cross-tools/x86/uclibc-headers.xml
r02ef21b r0bd108d 47 47 xpointer="xpointer(//*[@os='f'])"/> 48 48 49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 50 href="uclibc.xml" 51 xpointer="xpointer(//*[@os='g'])"/> 52 53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 54 href="uclibc.xml" 55 xpointer="xpointer(//*[@os='h'])"/> 56 49 57 <screen os="d1"><userinput>cp .config .config.orig 50 58 sed -e "/^KERNEL_SOURCE/s:=.*:=\"${CLFS}/usr\":" \ … … 56 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 57 65 href="uclibc.xml" 58 xpointer="xpointer(//*[@os=' h'])"/>66 xpointer="xpointer(//*[@os='j'])"/> 59 67 60 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 61 69 href="uclibc.xml" 62 xpointer="xpointer(//*[@os=' i'])"/>70 xpointer="xpointer(//*[@os='k'])"/> 63 71 64 72 <para os="d2">Create the Headers:</para> … … 68 76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 77 href="uclibc.xml" 70 xpointer="xpointer(//*[@os=' l'])"/>78 xpointer="xpointer(//*[@os='n'])"/> 71 79 72 80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 73 81 href="uclibc.xml" 74 xpointer="xpointer(//*[@os=' m'])"/>82 xpointer="xpointer(//*[@os='o'])"/> 75 83 76 84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 77 85 href="uclibc.xml" 78 xpointer="xpointer(//*[@os=' n'])"/>86 xpointer="xpointer(//*[@os='p'])"/> 79 87 80 88 <screen os="d5"><userinput>cp -a include/* ${CLFS}/usr/include</userinput></screen> -
BOOK/cross-tools/x86/uclibc.xml
r02ef21b r0bd108d 38 38 extra/Configs/Config.in.orig > extra/Configs/Config.in</userinput></screen> 39 39 40 <note os="c"> 40 <para os="c">By default uClibc symlinks the headers to the source directory. 41 This is not acceptable in our build scenario. So sed the Makefiles to copy them 42 instead.</para> 43 44 <screen os="d"><userinput>cp Makefile Makefile.orig 45 sed -e 's/$(LN) -fs/cp/g' Makefile.orig > Makefile 46 for file in `find libc/sysdeps/linux -name Makefile`; do 47 cp $file $file.orig 48 sed -e 's/$(LN) -fs/cp/g' -e 's@../libc/@$(TOPDIR)libc/@g' $file.orig > $file 49 done</userinput></screen> 50 51 <note os="e"> 41 52 <para>Below we are just telling uClibc to use the default configuration of 42 53 uClibc. For those for more adventureous, you can use make menuconfig, and … … 44 55 </note> 45 56 46 <para os=" d">Create default configuration:</para>57 <para os="f">Create default configuration:</para> 47 58 48 <screen os=" e"><userinput>make defconfig</userinput></screen>59 <screen os="g"><userinput>make defconfig</userinput></screen> 49 60 50 <para os=" f">We will need to edit the configuration file, to make sure everything gets61 <para os="h">We will need to edit the configuration file, to make sure everything gets 51 62 compiled and put into it's proper locations:</para> 52 63 53 <screen os=" g"><userinput>cp .config .config.orig64 <screen os="i"><userinput>cp .config .config.orig 54 65 sed -e "/^CROSS_COMPILER_PREFIX/s:=.*:=\"${CLFS_TARGET}-\":" \ 55 66 -e "/^KERNEL_SOURCE/s:=.*:=\"${CLFS}/usr\":" \ … … 59 70 .config.orig > .config</userinput></screen> 60 71 61 <para os=" h">We will need to make sure that some settings in uClibc are set so we72 <para os="j">We will need to make sure that some settings in uClibc are set so we 62 73 can utilize all the features of BusyBox:</para> 63 74 64 <screen os=" i"><userinput>UCLIBC_OPTIONS="DO_C99_MATH UCLIBC_HAS_RPC UCLIBC_HAS_CTYPE_CHECKED UCLIBC_HAS_WCHAR UCLIBC_HAS_HEXADECIMAL_FLOATS75 <screen os="k"><userinput>UCLIBC_OPTIONS="DO_C99_MATH UCLIBC_HAS_RPC UCLIBC_HAS_CTYPE_CHECKED UCLIBC_HAS_WCHAR UCLIBC_HAS_HEXADECIMAL_FLOATS 65 76 UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE UCLIBC_HAS_PRINTF_M_SPEC UCLIBC_HAS_FTW UCLIBC_HAS_IPV6" 66 77 for config in $UCLIBC_OPTIONS; do … … 70 81 echo "UCLIBC_HAS_FULL_RPC=y" >> .config</userinput></screen> 71 82 72 <para os=" j">Compile the package:</para>83 <para os="l">Compile the package:</para> 73 84 74 <screen os=" k"><userinput>make TARGET_ARCH=i386</userinput></screen>85 <screen os="m"><userinput>make TARGET_ARCH=i386</userinput></screen> 75 86 76 <para os=" l">We will remove the files that were copied over from our Linux Headers during87 <para os="n">We will remove the files that were copied over from our Linux Headers during 77 88 the building of uClibc. These files were copied into the include directory of the source 78 89 directory of uClibc:</para> 79 90 80 <screen os=" m"><userinput>rm include/{asm,asm-generic,linux}</userinput></screen>91 <screen os="o"><userinput>rm include/{asm,asm-generic,linux}</userinput></screen> 81 92 82 <para os=" n">Install the package:</para>93 <para os="p">Install the package:</para> 83 94 84 <screen os=" o"><userinput>make PREFIX=${CLFS} install</userinput></screen>95 <screen os="q"><userinput>make PREFIX=${CLFS} install</userinput></screen> 85 96 86 97 </sect2> -
BOOK/general.ent
r02ef21b r0bd108d 3 3 <!ENTITY month "11"> <!-- Use two digits --> 4 4 <!ENTITY month_name "November"> 5 <!ENTITY day " 9"> <!-- Use two digits -->5 <!ENTITY day "12"> <!-- Use two digits --> 6 6 <!ENTITY year "2006"> <!-- Use four digits --> 7 7
Note:
See TracChangeset
for help on using the changeset viewer.