Svante Signell, le Thu 25 Aug 2011 10:20:44 +0200, a écrit : > $host_os: > gnu when specified > gnu0.3 from config.guess
Sure, if you force something, config.guess follows it. > 1) Where to find the specification resulting in i486-pc-gnu? I don't understand the question. Why would you want that ? > 2) What are the roles of config.guess/config.sub from autotools-dev? Well, see the autotools doc: they detect the machine they're run on. > 3) How to specify gnu uniquely in configure and configure.ac? > Example: configure.ac > *-linux*|*-k*bsd-gnu) action;; -> *-linux*|*-k*bsd-gnu|"gnu here") action;; I have added a section to the wiki, it's pending push. > A common denominator of $host is > > c) *-gnu* This one: don't care the actual architecture, don't care the actual version of GNU. > 5) Is it OK if placed last? It does not matter to the "case" statement. > DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) > DEB_HOST_GNU_TYPE=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) > DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) > > resulting in: hurd, i486-gnu, i486-gnu respectively. > > 6) Are these only local to the rules file? I don't understand the question. They are dpkg-architecture output, that's all. Samuel