Changeset 16994e7 for BOOK/temp-system
- Timestamp:
- May 31, 2013, 6:32:15 AM (11 years ago)
- Branches:
- clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 7718031
- Parents:
- 97f4cdc
- Location:
- BOOK/temp-system
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/temp-system/common/coreutils.xml
r97f4cdc r16994e7 58 58 </variablelist> 59 59 60 <!--- Hack for coreutils to build for target executables which can't be ran with the host. -->61 <para os="h1">Coreutils does not build make-prime-list properly and the build host may not be able to execute the target binary. Build it using the host compiler so it can be ran for the generation of data required for the build.</para>62 63 <screen os="h2"><userinput>cp -v Makefile{,.orig}64 sed '/src_make_prime_list/d' Makefile.orig > Makefile65 depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\66 gcc -std=gnu99 -I. -I./lib -Ilib -I./lib -Isrc -I./src \67 -fdiagnostics-show-option -funit-at-a-time -g -O2 -MT \68 src/make-prime-list.o -MD -MP -MF $depbase.Tpo -c -o src/make-prime-list.o \69 src/make-prime-list.c &&70 mv -f $depbase.Tpo $depbase.Po71 gcc -std=gnu99 -fdiagnostics-show-option -funit-at-a-time -g -O2 \72 -Wl,--as-needed -o src/make-prime-list src/make-prime-list.o</userinput></screen>73 74 <para os="h3">Remove the building of the hostname man page as it is affected by the previous commands.</para>75 76 <screen os="h4"><userinput>cp -v Makefile{,.bak}77 sed -e '/hostname.1/d' Makefile.bak > Makefile</userinput></screen>78 <!-- End hack -->79 80 60 <para os="bf">Compile the package:</para> 81 61 -
BOOK/temp-system/multilib/coreutils.xml
r97f4cdc r16994e7 51 51 xpointer="xpointer(//*[@os='be1'])"/> 52 52 53 <!--- Hack for coreutils to build for target executables which can't be ran with the host. -->54 55 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"56 href="../common/coreutils.xml"57 xpointer="xpointer(//*[@os='h1'])"/>58 59 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"60 href="../common/coreutils.xml"61 xpointer="xpointer(//*[@os='h2'])"/>62 63 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"64 href="../common/coreutils.xml"65 xpointer="xpointer(//*[@os='h3'])"/>66 67 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"68 href="../common/coreutils.xml"69 xpointer="xpointer(//*[@os='h4'])"/>70 71 <!-- end hack -->72 73 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 74 54 href="../common/coreutils.xml"
Note:
See TracChangeset
for help on using the changeset viewer.