Aurelien Jarno wrote: > What should be done > instead is trying to understand why --sysroot doesn't work.
Here's a quick patch. It only covers the libc (libc.so, crti.o, etc) part of the problem. The right way to deal with libgcc1 is still being considered at Bug#634821. If someone knows how to expand this advice to include settings for --with-libs and --with-headers when building GCC from source, that would be nice. Index: debhelper.in/libc.NEWS =================================================================== --- debhelper.in/libc.NEWS (revision 4801) +++ debhelper.in/libc.NEWS (working copy) @@ -10,7 +10,7 @@ multiarch, you might try to pass the following options to your compiler: - -I/usr/include/$arch --sysroot /usr/lib/$arch + -I/usr/include/$arch -B/lib/$arch -B/usr/lib/$arch -- Aurelien Jarno <[email protected]> Sun, 26 Jun 2011 22:28:52 +0200 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

