On Sat, 23 May 2015, Francois Gouget wrote:
[...]
> > Although Debian policy currently doesn't allow -dev packages with
> > headers which vary across architectures to be Multi-Arch: same,
> 
> There was a plan to make it possible to put headers in the 
> triplet-specific location and based on libgmp-dev this may have seen 
> fruition:

Chapter 9 of the Debian Policy Manual has more data on this:
https://www.debian.org/doc/debian-policy/ch-opersys.html

    The requirement for C and C++ headers files to be accessible through 
    the search path /usr/include/ is amended, permitting files to be 
    accessible through the search path /usr/include/triplet where 
    triplet is as above. [79]

    [79] This is necessary for architecture-dependant headers file to 
    coexist in a multiarch setup. 


See also the MultiarchCross documentation, particularly the 
'Toolchains', 'Multiarching -dev packages' and 'Header files' sections:
https://wiki.ubuntu.com/MultiarchCross


    Multiarch already goes most of the way by specifying new paths where 
    libraries are to be found; while the MultiarchSpec lists library 
    -dev packages as unresolved, the transition plan is already pretty 
    specific on making binutils and gcc look into multiarch inlcude 
    directories, which is only needed for -dev packages.

    The extra explicit changes are:

        moving arch-dependent include files into /usr/include/<triplet>.
        dealing with scripts and utilities. 

    pkg-config files do not need to change for multiarch - they just 
    move into /usr/lib/<triplet> 


In version 1.0.25+git20150425-1 libsane-dev's sane-config is also 
arch-specific. So the MultiarchCross documentation's 'Executables in 
-dev packages' will be relevant too.


-- 
Francois Gouget <fgou...@free.fr>              http://fgouget.free.fr/
 The greatest programming project of all took six days; on the seventh day the
  programmer rested. We've been trying to debug the *&^%$#@ thing ever since.
                      Moral: design before you implement.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to