Changeset da3e727 for BOOK/temp-system
- Timestamp:
- Nov 5, 2012, 3:35:16 PM (12 years ago)
- Branches:
- clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 7ae2706
- Parents:
- 090ff24
- Location:
- BOOK/temp-system
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/temp-system/common/coreutils.xml
r090ff24 rda3e727 45 45 --enable-install-program=hostname --cache-file=config.cache</userinput></screen> 46 46 47 <!--- Hack for coreutils to build for target executables which can't be ran with the host. --> 48 <para os="h1">Coreutils does not build make-prime-list properly and the host cannot execute it. We build it using the host compiler so it can be executed for the generation of data required for the build.</para> 49 50 <screen os="h2"><userinput>sed '/src_make_prime_list/d' -i Makefile 51 depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; 52 gcc -std=gnu99 -I. -I./lib -Ilib -I./lib -Isrc -I./src -fdiagnostics-show-option -funit-at-a-time -g -O2 -MT src/make-prime-list.o -MD -MP -MF $depbase.Tpo -c -o src/make-prime-list.o src/make-prime-list.c 53 mv -f $depbase.Tpo $depbase.Po 54 gcc -std=gnu99 -fdiagnostics-show-option -funit-at-a-time -g -O2 -Wl,--as-needed -o src/make-prime-list src/make-prime-list.o</userinput></screen> 55 56 <para os="h3">Remove the building of the hostname man page as it is affected by the previous commands.</para> 57 58 <screen os="h4"><userinput>sed -i '/hostname.1/d' -i Makefile</userinput></screen> 59 <!-- End hack --> 60 47 61 <para os="bf">Compile the package:</para> 48 62 -
BOOK/temp-system/multilib/coreutils.xml
r090ff24 rda3e727 47 47 --enable-install-program=hostname --cache-file=config.cache</userinput></screen> 48 48 49 <!--- Hack for coreutils to build for target executables which can't be ran with the host. --> 50 51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 52 href="../common/coreutils.xml" 53 xpointer="xpointer(//*[@os='h1'])"/> 54 55 <screen os="h2"><userinput>sed '/src_make_prime_list/d' -i Makefile 56 depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; 57 gcc ${BUILD64} -std=gnu99 -I. -I./lib -Ilib -I./lib -Isrc -I./src -fdiagnostics-show-option -funit-at-a-time -g -O2 -MT src/make-prime-list.o -MD -MP -MF $depbase.Tpo -c -o src/make-prime-list.o src/make-prime-list.c 58 mv -f $depbase.Tpo $depbase.Po 59 gcc ${BUILD64} -std=gnu99 -fdiagnostics-show-option -funit-at-a-time -g -O2 -Wl,--as-needed -o src/make-prime-list src/make-prime-list.o</userinput></screen> 60 61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 62 href="../common/coreutils.xml" 63 xpointer="xpointer(//*[@os='h3'])"/> 64 65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 66 href="../common/coreutils.xml" 67 xpointer="xpointer(//*[@os='h4'])"/> 68 69 <!-- end hack --> 70 49 71 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 50 72 href="../common/coreutils.xml"
Note:
See TracChangeset
for help on using the changeset viewer.