You (Ian Jackson) wrote:
> Miquel van Smoorenburg writes ("Re: $(ARCH)-debian-linux-gnu"):
> ...
> > The GNU configure scripts usually match on i[3456]86-*-*) for
> > architecture support, so that's not a problem.
> > 
> > I usually do something like:
> > 
> > a = $(shell dpkg --print-architecture)
> > 
> > ifeq (i386,$(a))
> > arch = i486-debian-linux
> > else
> > arch = $(a)-debian-linux
> ...
> 
> Should I provide a command to do this automatically ?
> 
> dpkg --print-gnu-build-architecture perhaps.

Sure, why not. It would result in more consistency, and that's
a Good Thing (TM)

Mike.
-- 
   Miquel van      | Cistron Internet Services   --    Alphen aan den Rijn.
   Smoorenburg,    | mailto:[EMAIL PROTECTED]          http://www.cistron.nl/
[EMAIL PROTECTED] | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)


Reply via email to