Cross-compiling environment files
Hello,
I'm working at creating debian packages for DJGPP ((cross) compiler to
MSDOS). Such a thing put target include files and libraries, as well as
cross-compiling commands in /usr/i386-msdosdjgpp/(include|lib|bin).
I was about to report a bug against lintian, which complains about such
files, but I realised neither the FHS nor debian-policy were allowing
such thing.
Some debian packages use such directories:
* gcc-h8300-hms has /usr/h8300-hitachi-hms/(lib|bin), with no
binaries in /usr/bin (!), but as /usr/.../bin/h8300-hitachi-hms-*.
* mingw32 has /usr/i586-mingw32msvc/(lib|include), but no bin. His
cross-compiling binaries are named /usr/bin/i586-mingw32msvc-*
* gcc-i386-gnu has only commands, available both as
/usr/bin/i386-gnu-* and /usr/i386-gnu/bin/* (no arch string in
front of them)
The situation is quite messy.
Should policy document cross-compiling environement files ? This would
create exceptions to the FHS in debian-policy, but it seems necessary.
Should I create a proposal, as a base for further discussion ?
--
Jeremie Koenig <sprite@sprite.fr.eu.org>
Reply to: