Skip to content

Instantly share code, notes, and snippets.

@TheFlipside
Created September 24, 2013 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheFlipside/6689387 to your computer and use it in GitHub Desktop.
Save TheFlipside/6689387 to your computer and use it in GitHub Desktop.
# Now that we have built all the objects, we need to copy
# them back to the GCC directory. Too many things (other
# in-tree libraries, and DejaGNU) know about the layout
# of the build tree, for now.
make install-leaf DESTDIR=../.././gcc \
slibdir= libsubdir= MULTIOSDIR=.
make[3]: Entering directory `/mnt/lfs/sources/gcc-build/i686-lfs-linux-gnu/libgcc'
/bin/sh ../../../gcc-4.8.1/libgcc/../mkinstalldirs ../.././gcc
/usr/bin/install -c -m 644 libgcc.a ../.././gcc/
chmod 644 ../.././gcc/libgcc.a
/tools/i686-lfs-linux-gnu/bin/ranlib ../.././gcc/libgcc.a
/usr/bin/install -c -m 644 libgcov.a ../.././gcc/
chmod 644 ../.././gcc/libgcov.a
/tools/i686-lfs-linux-gnu/bin/ranlib ../.././gcc/libgcov.a
parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"; \
for file in $parts; do \
rm -f ../.././gcc/$file; \
,.orig}; sed -e 's@/lib\(64\)\?\(32\)\?/ld@/tools&@g' -e 's@/usr@/tools@g' $file.orig > $file; echo 'h); do cp -uv $file{,
>
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment