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. Ian.