Package: libnewlib-dev Version: 1.18.0-6 Severity: wishlist I have a really hard time compiling anything against libnewlib-dev, for example, <stddef.h> is missing and wint_t (sys/_types.h) missing, /usr/lib/newlib/i486-linux-gnu/include/sys/types.h includes a file called features.h which isn’t found, not to speak of linux/* headers that aren’t delivered either.
I basically tried: cd pathtomkshsourcetree¹ CPPFLAGS='-nostdinc -I/usr/lib/newlib/i486-linux-gnu/include' LDFLAGS='-nostdlib -L/usr/lib/newlib/i486-linux-gnu/lib /usr/lib/newlib/i486-linux-gnu/lib/crt0.o /usr/lib/newlib/i486-linux-gnu/lib/crt1.o' LIBS=-lc mksh Build.sh -r ① apt-get source mksh #from sid, there it's already extracted, for example The entire package does not come with a̲n̲y̲ kind of information what the correct CPPFLAGS, CFLAGS, LDFLAGS, LIBS are, anyway. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.18-6-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/mksh Versions of packages libnewlib-dev depends on: ii libnewlib0 1.18.0-6 newlib C library (runtime) libnewlib-dev recommends no packages. libnewlib-dev suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org