[parisc-linux] Architecture string change

David Huggins-Daines dhd@linuxcare.com
11 Jul 2000 10:28:21 -0400


Bdale Garbee <bdale@gag.com> writes:

> When I asked about the apparent confusion a while back, I got the very
> strong indication that the parisc-linux community wanted to use 'parisc' for
> the arhitecture string in Debian space... so that's the direction I've been

Well, there's no reason why DEB_HOST_GNU_CPU has to be the same as
DEB_HOST_ARCH.  Although I think I've seen a few debian/rules files
(including one of my own at one point) that do things like this:

build:
        ./configure --host=$(DEB_HOST_ARCH)-linux

Just to make it clear, this discussion is about DEB_HOST_GNU_CPU,
i.e. the CPU part of the string returned by config.guess and accepted
by configure, autoconf, and automake.

> I have no emotional loading on this one, I just want to know the answer.  :-)

I'm a bit biased towards 'hppa' just because it is the currently
accepted convention with all the GNU software out there.  Also it will
be a bit of a hack to config.guess to return parisc*, because we'll
end up only doing it on Linux.  Also, if we go with 'parisc', then:

(a) We need to send patches for config.guess and config.sub to the
    automake and autoconf people NOW.
(b) We must be prepared to manually update config.guess and config.sub
    in basically every piece of software we build. [1]

> We *must* decide this once and for all *very* soon.  Pretty please.

Yup :-)

[1] On Alpha, there continue to be annoying problems when building GNU
software because config.guess (which is part of autoconf) knew about
the PCA56 and EV6 subarchitectures long before config.sub (which is
part of automake) did, and thus configuring would always fail unless
--host=alpha-linux (or some other recognizable architecture string)
was specified.  Because the maintainer has to manually update
config.guess and config.sub, lots of packages still have old versions
that break...

-- 
dhd@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.