Package: libc6-dev-mips-cross
Version: 2.19-19cross1
Severity: normal

Hello,

when I cross-compile a little hello world program for MIPS and use
-msoft-float, gcc complains that it doesn't find a file:

> $ cat hello.c
> #include <stdio.h>
> 
> int main(void)
> {
>         printf("Hello World\n");
>         return 0;
> }
> $ mips-linux-gnu-gcc-5 -msoft-float    hello.c   -o hello
> In file included from /usr/mips-linux-gnu/include/features.h:398:0,
>                  from /usr/mips-linux-gnu/include/stdio.h:27,
>                  from hello.c:1:
> /usr/mips-linux-gnu/include/gnu/stubs.h:8:33: fatal error: 
> gnu/stubs-o32_soft.h: No such file or directory
> compilation terminated.
> <builtin>: recipe for target 'hello' failed
> make: *** [hello] Error 1


Best regards,
Jonathan Neuschäfer

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libc6-dev-mips-cross depends on:
ii  libc6-mips-cross           2.19-19cross1
ii  linux-libc-dev-mips-cross  4.1.6-1cross1

libc6-dev-mips-cross recommends no packages.

libc6-dev-mips-cross suggests no packages.

-- no debconf information

Reply via email to