summaryrefslogtreecommitdiff
path: root/ostable
diff options
context:
space:
mode:
Diffstat (limited to 'ostable')
-rw-r--r--ostable23
1 files changed, 23 insertions, 0 deletions
diff --git a/ostable b/ostable
new file mode 100644
index 000000000..837d94189
--- /dev/null
+++ b/ostable
@@ -0,0 +1,23 @@
+# This file contains the table of known operating system names.
+#
+# Architecture names are formed as a combination of the system name
+# (from this table) and CPU name (from cputable). A list of architecture
+# names in the Debian ‘sid’ distribution can be found in the archtable
+# file.
+#
+# Column 1 is the Debian name for the system, used to form the
+# architecture name.
+# Column 2 is the GNU name for the system, used to output build and host
+# targets in ‘dpkg-architecture’.
+# Column 3 is an extended regular expression used to match against the
+# system part of the output of the GNU config.guess script.
+#
+# <Debian name> <GNU name> <config.guess regex>
+linux linux-gnu linux[^-]*(-gnu.*)?
+darwin darwin darwin[^-]*
+freebsd freebsd freebsd[^-]*
+hurd gnu gnu[^-]*
+kfreebsd kfreebsd-gnu kfreebsd[^-]*(-gnu.*)?
+knetbsd knetbsd-gnu knetbsd[^-]*(-gnu.*)?
+netbsd netbsd netbsd[^-]*
+openbsd openbsd openbsd[^-]*