Ignore:
Timestamp:
Jan 17, 2009, 11:58:17 AM (16 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
95de45a
Parents:
0defd7d
Message:

Ryan's Toolchain Update

Location:
BOOK/cross-tools/common
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/binutils.xml

    r0defd7d rc1832da  
    5353    xpointer="xpointer(//*[@os='i'])"/>
    5454
    55 <screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-version;/configure --prefix=/cross-tools \
    56     --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-lib-path=/tools/lib \
    57     --disable-nls --enable-shared --disable-multilib</userinput></screen>
     55<screen os="bc"><userinput>AR=ar AS=as ../binutils-&binutils-version;/configure \
     56  --prefix=/cross-tools --host=${CLFS_HOST} --target=${CLFS_TARGET} \
     57  --with-sysroot=${CLFS} --with-lib-path=/tools/lib --disable-nls --enable-shared \
     58  --enable-64-bit-bfd --disable-multilib</userinput></screen>
    5859
    5960    <variablelist os="bd">
  • BOOK/cross-tools/common/gcc-final.xml

    r0defd7d rc1832da  
    6363    xpointer="xpointer(//*[@os='aj'])"/>
    6464
    65     <para os="bd">Finally, disable <option>-B</option> in <filename>configure</filename>,
    66     so it doesn't pick up the host's header files:</para>
    67 
    68 <screen os="be"><userinput>cp -v configure{,.orig}
    69 sed -e '/FLAGS_FOR_TARGET.*\/lib\//s@-B[^ ]*/lib/@@g' configure.orig &gt; \
    70     configure</userinput></screen>
    71 
    7265    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    7366    href="gcc-static.xml"
     
    8376
    8477<screen os="bf"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
    85     ../gcc-&gcc-version;/configure --prefix=/cross-tools \
    86     --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
    87     --disable-multilib --with-local-prefix=/tools --disable-nls \
    88     --with-mpfr=/cross-tools --with-gmp=/cross-tools \
    89     --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \
    90     --enable-c99 --enable-long-long --enable-threads=posix</userinput></screen>
     78  ../gcc-&gcc-version;/configure --prefix=/cross-tools \
     79  --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \
     80  --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
     81  --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit \
     82  --with-mpfr=/cross-tools --with-gmp=/cross-tools --enable-c99 \
     83  --enable-long-long --enable-threads=posix --disable-multilib</userinput></screen>
    9184
    9285    <variablelist os="bg">
  • BOOK/cross-tools/common/gcc-static.xml

    r0defd7d rc1832da  
    4545    location:</para>
    4646
    47 <screen os="ah"><userinput>for file in $(find gcc/config  -name linux.h -o -name linux64.h ! -wholename gcc/config/linux.h)
    48 do echo -e '\n#undef STARTFILE_PREFIX_SPEC\n#define STARTFILE_PREFIX_SPEC "/tools/lib/"' &gt;&gt; ${file}
    49 done</userinput></screen>
     47<screen os="ah"><userinput>echo -en '\n#undef STANDARD_STARTFILE_PREFIX_1\n#define STANDARD_STARTFILE_PREFIX_1 "/tools/lib/"\n' >> gcc/config/linux.h
     48echo -en '\n#undef STANDARD_STARTFILE_PREFIX_2\n#define STANDARD_STARTFILE_PREFIX_2 ""\n' >> gcc/config/linux.h</userinput></screen>
    5049
    5150    <para os="ai">Now alter <command>gcc</command>'s c preprocessor's default
     
    7473
    7574<screen os="al"><userinput>AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
    76     ../gcc-&gcc-version;/configure --prefix=/cross-tools \
    77     --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
    78     --disable-multilib --with-local-prefix=/tools --disable-nls \
    79     --without-headers --with-newlib --disable-decimal-float \
    80     --with-mpfr=/cross-tools --with-gmp=/cross-tools \
    81     --disable-libgomp --disable-libmudflap --disable-libssp \
    82     --disable-shared --disable-threads --enable-languages=c</userinput></screen>
     75  ../gcc-&gcc-version;/configure --prefix=/cross-tools \
     76  --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} \
     77  --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls \
     78  --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools \
     79  --without-headers --with-newlib --disable-decimal-float \
     80  --disable-libgomp --disable-libmudflap --disable-libssp \
     81  --disable-threads --enable-languages=c --disable-multilib</userinput></screen>
    8382
    8483    <variablelist os="am">
Note: See TracChangeset for help on using the changeset viewer.