]> git.saurik.com Git - apt.git/blame_incremental - buildlib/archtable
Let is bash specific. Use expr.
[apt.git] / buildlib / archtable
... / ...
CommitLineData
1# This file contains a table of known architecture strings, with
2# things to map them to. `configure' will take the output of gcc
3# --print-libgcc-file-name, strip off leading directories up to and
4# including gcc-lib, strip off trailing /libgcc.a and trailing version
5# number directory, and then strip off everything after the first
6# hyphen. The idea is that you're left with this bit:
7# $ gcc --print-libgcc-file-name
8# /usr/lib/gcc-lib/i486-linux/2.7.2/libgcc.a
9# ^^^^
10# This is then looked up in the table below, to find out what to map
11# it to. If it isn't found then configure will print a warning and
12# continue. You can override configure's ideas using --with-arch.
13# The third field is the GNU configure architecture to use with
14# this build architecture.
15#
16# This file is mirrored from dpkg.
17#
18
19i386 i386 i486
20i486 i386 i486
21i586 i386 i486
22i686 i386 i486
23pentium i386 i486
24sparc sparc sparc
25alpha alpha alpha
26m68k m68k m68k
27arm arm arm
28armv4l arm arm
29powerpc powerpc powerpc
30ppc powerpc powerpc
31mipsel mipsel mipsel