Ignore:
Timestamp:
Apr 16, 2011, 5:44:45 PM (14 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
e0ad6ee
Parents:
7d97f36
Message:

Update the LDFLAGS in the final-system between the installation
of EGLIBC and the installation of GCC. This should fix build errors
in a few odd situations, but it is also correct now. Before /usr/lib*
was not being set in rpath-link, just /lib*.

Location:
BOOK/final-system/common
Files:
8 edited

Legend:

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

    r7d97f36 rb6831b6  
    4949
    5050<screen os="ca"><userinput>CC="gcc -isystem /usr/include" \
    51     LDFLAGS="-Wl,-rpath-link,/lib" \
    52     ../binutils-&binutils-version;/configure --prefix=/usr \
     51LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
     52  ../binutils-&binutils-version;/configure --prefix=/usr \
    5353    --enable-shared</userinput></screen>
    5454
  • BOOK/final-system/common/cloog-ppl.xml

    r7d97f36 rb6831b6  
    3030    <para os="a">Prepare CLooG-PPL for compilation:</para>
    3131
    32 <screen os="b"><userinput>CC="gcc -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/lib" \
    33     ./configure --prefix=/usr --enable-shared --with-gmp \
     32<screen os="b"><userinput>CC="gcc -isystem /usr/include" \
     33LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
     34  ./configure --prefix=/usr --enable-shared --with-gmp \
    3435    --with-ppl</userinput></screen>
    3536
  • BOOK/final-system/common/gcc.xml

    r7d97f36 rb6831b6  
    4141    <para os="h">Prepare GCC for compilation:</para>
    4242
    43 <screen os="i"><userinput>CC="gcc -Wl,-rpath-link,/lib -isystem /usr/include" \
    44     CXX="g++ -Wl,-rpath-link,/lib -isystem /usr/include" \
    45     ../gcc-&gcc-version;/configure --prefix=/usr \
     43<screen os="i"><userinput>CC="gcc -isystem /usr/include" \
     44CXX="g++ -isystem /usr/include" \
     45LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
     46  ../gcc-&gcc-version;/configure --prefix=/usr \
    4647    --libexecdir=/usr/lib --enable-shared --enable-threads=posix \
    4748    --enable-__cxa_atexit --enable-c99 --enable-long-long \
  • BOOK/final-system/common/gmp.xml

    r7d97f36 rb6831b6  
    4949
    5050<screen os="b"><userinput>CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include" \
    51     CXX="g++ -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/lib" \
    52     ./configure --prefix=/usr --enable-cxx --enable-mpbsd</userinput></screen>
     51CXX="g++ -isystem /usr/include" \
     52LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
     53  ./configure --prefix=/usr --enable-cxx --enable-mpbsd</userinput></screen>
    5354
    5455    <para os="c">Compile the package:</para>
  • BOOK/final-system/common/mpc.xml

    r7d97f36 rb6831b6  
    2929
    3030<screen os="b"><userinput>CC="gcc -isystem /usr/include" \
    31 LDFLAGS="-Wl,-rpath-link,/lib" EGREP="grep -E" \
    32 ./configure --prefix=/usr</userinput></screen>
     31LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
     32  EGREP="grep -E" ./configure --prefix=/usr</userinput></screen>
    3333
    3434    <para os="c">Compile the package:</para>
  • BOOK/final-system/common/mpfr.xml

    r7d97f36 rb6831b6  
    2828    <para os="a">Prepare MPFR for compilation:</para>
    2929
    30 <screen os="b"><userinput>CC="gcc -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/lib" \
    31     ./configure --prefix=/usr --enable-shared \
    32         --with-gmp=/usr</userinput></screen>
     30<screen os="b"><userinput>CC="gcc -isystem /usr/include" \
     31LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
     32  ./configure --prefix=/usr --enable-shared \
     33    --with-gmp=/usr</userinput></screen>
    3334
    3435    <para os="c">Compile the package:</para>
  • BOOK/final-system/common/ppl.xml

    r7d97f36 rb6831b6  
    3030
    3131<screen os="b"><userinput>CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include" \
    32     CXX="g++ -isystem /usr/include" \
    33     LDFLAGS="-Wl,-rpath-link,/lib" \
    34     ./configure --prefix=/usr --enable-shared \
    35       --disable-optimization</userinput></screen>
     32CXX="g++ -isystem /usr/include" \
     33LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
     34  ./configure --prefix=/usr --enable-shared \
     35    --disable-optimization</userinput></screen>
    3636
    3737    <para os="c">Compile the package:</para>
  • BOOK/final-system/common/zlib.xml

    r7d97f36 rb6831b6  
    2828    <para os="a">Prepare Zlib for compilation:</para>
    2929
    30 <screen os="b"><userinput>CC="gcc -isystem /usr/include" CXX="g++ -isystem /usr/include" \
    31     LDFLAGS="-Wl,-rpath-link,/lib" ./configure --prefix=/usr</userinput></screen>
     30<screen os="b"><userinput>CC="gcc -isystem /usr/include" \
     31CXX="g++ -isystem /usr/include" \
     32LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
     33  ./configure --prefix=/usr</userinput></screen>
    3234
    3335    <para os="c">Compile the package:</para>
Note: See TracChangeset for help on using the changeset viewer.