Package: musl-dev Version: 1.1.16-3 Severity: wishlist musl-tools:mips depends on gcc:mips, and I wasn't able to install either package on my amd64 system. But I was able to install musl-dev:mips and use gcc-mips-linux-gnu:amd64 to build a working program after extracting musl-gcc.specs from musl-tools:mips manually: mips-linux-gnu-gcc -static -o hello hello.c \ -specs /usr/share/dpkg/no-pie-compile.specs \ -specs /usr/share/dpkg/no-pie-link.specs \ -specs ~/gcc-mips-linux-musl.specs (This command is based on /usr/bin/musl-gcc.)
Perhaps the packages could be adjusted as follows to make this easier: * Move the .specs files into musl-dev as-is, and move /usr/bin/musl-gcc there as /usr/bin/mips-linux-musl-gcc (assuming mips; 'cc' inside the script would have to be changed to 'mips-linux-gnu-gcc'). * Have /usr/bin/musl-gcc from musl-tools just run the native *-musl-gcc script. - Michael -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: arm64, mips, i386 Kernel: Linux 4.12.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages musl-dev depends on: ii musl 1.1.16-3 Versions of packages musl-dev recommends: pn linux-musl-dev <none> musl-dev suggests no packages. -- no debconf information
signature.asc
Description: PGP signature