summaryrefslogtreecommitdiffstats
path: root/base/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'base/binutils')
-rw-r--r--base/binutils/.footprint96
-rw-r--r--base/binutils/.md5sum1
-rwxr-xr-xbase/binutils/Pkgfile33
3 files changed, 130 insertions, 0 deletions
diff --git a/base/binutils/.footprint b/base/binutils/.footprint
new file mode 100644
index 000000000..cf5d1c7b1
--- /dev/null
+++ b/base/binutils/.footprint
@@ -0,0 +1,96 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/addr2line
+-rwxr-xr-x root/root usr/bin/ar
+-rwxr-xr-x root/root usr/bin/as
+-rwxr-xr-x root/root usr/bin/c++filt
+-rwxr-xr-x root/root usr/bin/gprof
+-rwxr-xr-x root/root usr/bin/ld
+-rwxr-xr-x root/root usr/bin/nm
+-rwxr-xr-x root/root usr/bin/objcopy
+-rwxr-xr-x root/root usr/bin/objdump
+-rwxr-xr-x root/root usr/bin/ranlib
+-rwxr-xr-x root/root usr/bin/readelf
+-rwxr-xr-x root/root usr/bin/size
+-rwxr-xr-x root/root usr/bin/strings
+-rwxr-xr-x root/root usr/bin/strip
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/ansidecl.h
+-rw-r--r-- root/root usr/include/bfd.h
+-rw-r--r-- root/root usr/include/bfdlink.h
+-rw-r--r-- root/root usr/include/dis-asm.h
+-rw-r--r-- root/root usr/include/libiberty.h
+-rw-r--r-- root/root usr/include/symcat.h
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/ldscripts/
+-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.x
+-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.xbn
+-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.xc
+-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.xd
+-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.xdc
+-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.xdw
+-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.xn
+-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.xr
+-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.xs
+-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.xsc
+-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.xsw
+-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.xu
+-rw-r--r-- root/root usr/lib/ldscripts/elf_i386.xw
+-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.x
+-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xbn
+-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xc
+-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xd
+-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xdc
+-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xdw
+-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xn
+-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xr
+-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xs
+-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xsc
+-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xsw
+-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xu
+-rw-r--r-- root/root usr/lib/ldscripts/elf_x86_64.xw
+-rw-r--r-- root/root usr/lib/ldscripts/i386linux.x
+-rw-r--r-- root/root usr/lib/ldscripts/i386linux.xbn
+-rw-r--r-- root/root usr/lib/ldscripts/i386linux.xn
+-rw-r--r-- root/root usr/lib/ldscripts/i386linux.xr
+-rw-r--r-- root/root usr/lib/ldscripts/i386linux.xu
+-rwxr-xr-x root/root usr/lib/libbfd-2.19.1.so
+-rw-r--r-- root/root usr/lib/libbfd.a
+-rwxr-xr-x root/root usr/lib/libbfd.la
+lrwxrwxrwx root/root usr/lib/libbfd.so -> libbfd-2.19.1.so
+-rwxr-xr-x root/root usr/lib/libopcodes-2.19.1.so
+-rw-r--r-- root/root usr/lib/libopcodes.a
+-rwxr-xr-x root/root usr/lib/libopcodes.la
+lrwxrwxrwx root/root usr/lib/libopcodes.so -> libopcodes-2.19.1.so
+drwxr-xr-x root/root usr/lib64/
+-rw-r--r-- root/root usr/lib64/libiberty.a
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/addr2line.1.gz
+-rw-r--r-- root/root usr/man/man1/ar.1.gz
+-rw-r--r-- root/root usr/man/man1/as.1.gz
+-rw-r--r-- root/root usr/man/man1/c++filt.1.gz
+-rw-r--r-- root/root usr/man/man1/dlltool.1.gz
+-rw-r--r-- root/root usr/man/man1/gprof.1.gz
+-rw-r--r-- root/root usr/man/man1/ld.1.gz
+-rw-r--r-- root/root usr/man/man1/nlmconv.1.gz
+-rw-r--r-- root/root usr/man/man1/nm.1.gz
+-rw-r--r-- root/root usr/man/man1/objcopy.1.gz
+-rw-r--r-- root/root usr/man/man1/objdump.1.gz
+-rw-r--r-- root/root usr/man/man1/ranlib.1.gz
+-rw-r--r-- root/root usr/man/man1/readelf.1.gz
+-rw-r--r-- root/root usr/man/man1/size.1.gz
+-rw-r--r-- root/root usr/man/man1/strings.1.gz
+-rw-r--r-- root/root usr/man/man1/strip.1.gz
+-rw-r--r-- root/root usr/man/man1/windmc.1.gz
+-rw-r--r-- root/root usr/man/man1/windres.1.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/locale/
+drwxr-xr-x root/root usr/share/locale/fr/
+drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/bfd.mo
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/binutils.mo
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/gas.mo
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/gprof.mo
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/ld.mo
+-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/opcodes.mo
diff --git a/base/binutils/.md5sum b/base/binutils/.md5sum
new file mode 100644
index 000000000..452d8f2e0
--- /dev/null
+++ b/base/binutils/.md5sum
@@ -0,0 +1 @@
+09a8c5821a2dfdbb20665bc0bd680791 binutils-2.19.1.tar.bz2
diff --git a/base/binutils/Pkgfile b/base/binutils/Pkgfile
new file mode 100755
index 000000000..ee4dc6da4
--- /dev/null
+++ b/base/binutils/Pkgfile
@@ -0,0 +1,33 @@
+# Description: Le paquet GNU Binutils est une collection d'outils
+# URL: http://sources.redhat.com/binutils/
+# Maintainer: Linux From Scratch
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: zlib
+
+name=binutils
+version=2.19.1
+release=1
+source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
+
+build() {
+cd $name-$version
+
+rm -fv etc/standards.info
+sed -i.bak '/^INFO/s/standards.info //' etc/Makefile.in
+
+sed -i -e 's/getline/get_line/' libiberty/testsuite/test-demangle.c
+
+
+mkdir ../binutils-build
+cd ../binutils-build
+../$name-$version/configure --prefix=/usr \
+--enable-shared
+
+make tooldir=/usr
+make check
+make tooldir=/usr DESTDIR=$PKG install
+cp ../$name-$version/include/libiberty.h $PKG/usr/include
+rm -rf $PKG/usr/info
+sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/libbfd.la
+
+}