summaryrefslogtreecommitdiff
path: root/buildlib/archtable
diff options
context:
space:
mode:
Diffstat (limited to 'buildlib/archtable')
-rw-r--r--buildlib/archtable29
1 files changed, 29 insertions, 0 deletions
diff --git a/buildlib/archtable b/buildlib/archtable
new file mode 100644
index 000000000..47d4fbf84
--- /dev/null
+++ b/buildlib/archtable
@@ -0,0 +1,29 @@
+# This file contains a table of known architecture strings, with
+# things to map them to. `configure' will take the output of gcc
+# --print-libgcc-file-name, strip off leading directories up to and
+# including gcc-lib, strip off trailing /libgcc.a and trailing version
+# number directory, and then strip off everything after the first
+# hyphen. The idea is that you're left with this bit:
+# $ gcc --print-libgcc-file-name
+# /usr/lib/gcc-lib/i486-linux/2.7.2/libgcc.a
+# ^^^^
+# This is then looked up in the table below, to find out what to map
+# it to. If it isn't found then configure will print a warning and
+# continue. You can override configure's ideas using --with-arch.
+# The third field is the GNU configure architecture to use with
+# this build architecture.
+#
+# This file is mirrored from dpkg.
+#
+
+i386 i386 i486
+i486 i386 i486
+i586 i386 i486
+i686 i386 i486
+pentium i386 i486
+sparc sparc sparc
+alpha alpha alpha
+m68k m68k m68k
+arm arm arm
+powerpc powerpc powerpc
+ppc powerpc powerpc