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

Re: requiring packages to be built with a given compiler version



On Sun, Oct 07, 2001 at 12:23:14AM +0200, Wouter Verhelst wrote:
> On Sat, 6 Oct 2001, Camm Maguire wrote:
> > Greetings!  Is there any simple way I can specify that one of my
> > packages is to be built using gcc-2.95 on one arch, and 3.0 on the
> > others?
> 
> Build-depends: gcc-2.95 [arch-foo] | gcc-3.0 [!arch-foo]

You also need to set CC appropriately, checking the architecture as
documented in dpkg-architecture(1).

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



Reply to: