Changeset 7329dbe in clfs-sysroot for BOOK/final-system/common/coreutils.xml


Ignore:
Timestamp:
Jan 4, 2009, 11:57:46 AM (15 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
3423c60
Parents:
ab1184b
Message:

Add the GCC Branch Update Patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/coreutils.xml

    rab1184b r7329dbe  
    3232
    3333<screen os="p2"><userinput>patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen>
    34 
    35     <para os="s1">The following command renames the internal implementation of
    36     futimens to gl_futimens as newer versions of Glibc provide an incompatible
    37     version:</para>
    38 
    39 <screen os="s2"><userinput>sed -i "s/futimens/gl_&amp;/" $(grep -lr futimens *)</userinput></screen>
    4034
    4135    <para os="aa">When the uname patch and the sed above were applied. The
     
    4741    cooresponding source files:</para>
    4842
    49 <screen os="ab"><userinput>touch man/uname.1 man/touch.1</userinput></screen>
     43<screen os="ab"><userinput>touch man/uname.1 man/touch.1 man/hostname.1</userinput></screen>
     44
     45    <para os="s1">Coreutils attempts to use the <command>install</command>
     46    program it just built to perform the install. This will not work if the
     47    target architecture is incompatible with the host architecture. The
     48    following command causes the Makefile to use the host's
     49    <command>install</command> to perform the install:</para>
     50
     51<screen os="s2"><userinput>cp -v src/Makefile.in{,.orig}
     52sed -e "/binPROGRAMS_INSTALL=/s:./ginstall:install:" src/Makefile.in.orig > src/Makefile.in</userinput></screen>
    5053
    5154    <para os="a">Configure can not properly determine how to get free space
     
    5962
    6063<screen os="d"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    61     --prefix=/usr --cache-file=config.cache </userinput></screen>
     64    --prefix=/usr --cache-file=config.cache \
     65    --enable-no-install-program=kill,uptime \
     66    --enable-install-program=hostname</userinput></screen>
    6267
    6368    <para os="e">Compile the package:</para>
     
    7378<screen os="j"><userinput>mv -v ${CLFS}/usr/bin/{cat,chgrp,chmod,chown,cp,date} ${CLFS}/bin
    7479mv -v ${CLFS}/usr/bin/{dd,df,echo,false,hostname,ln,ls,mkdir} ${CLFS}/bin
    75 mv -v ${CLFS}/usr/bin/{mknod,mv,pwd,rm,rmdir,stty,true,uname} ${CLFS}/bin
     80mv -v ${CLFS}/usr/bin/{mv,pwd,rm,rmdir,stty,true,uname} ${CLFS}/bin
    7681mv -v ${CLFS}/usr/bin/chroot ${CLFS}/usr/sbin</userinput></screen>
    7782
Note: See TracChangeset for help on using the changeset viewer.