[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Multiple-Architecture Sources



Tor Slettnes <tor@slett.net> writes:

> >>>>> "Michael" == Michael Alan Dorman <mdorman-debian.devel@debian.org> writes:
> >>>>> "Brent" == Brent Fulgham <bfulgham@xpsystems.com> writes:
> 
>     Brent> I could add logic to uncomment this line automatically, but
>     Brent> am not sure what the best way of identifiying the intended
>     Brent> build target -- would a call to `uname` be sufficient?
> 
>     Michael> I usually use identify the architecture with the make
>     Michael> snippet:
> 
>     Michael> ARCH=$(shell dpkg --print-architecture)
> 
> That would be a bug, since 'dpkg --print-architecture' depends on
> 'gcc' to work.  Use 'dpkg --print-installation-architecture'
> instead.

Uh, no, this is with regards to building stuff, clearly you need gcc
to do that anyway.  Far from being a bug, it's actually the Right
thing to do (for cross-compilers).

-- 
James


Reply to: