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

Re: Build-Depends on certain architecture



On Tue, Oct 01, 2002 at 06:06:39PM +0200, Michel D?nzer wrote:
> On Die, 2002-10-01 at 11:02, Daniel Lutz wrote:
> > Then I will need to change debian/rules accordingly. How should
> > I test for the architecture in this case?
> > 
> >   dpkg-architecture -qDEB_BUILD_ARCH
> > 
> > or
> > 
> >   dpkg-architecture -qDEB_HOST_ARCH
> > 
> > (I think the second one makes more sense.)
> 
> I think the former makes more sense. :) The compiler should only matter
> for the generated code, not the architecture the compiler runs on.

Well, that depends. Is the compiler hitting an internal compiler error
or something? If so then you do care about the host architecture.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: