Building cross-compilers
Package: gcc-4.1
Version: 4.1.1-9
Severity: minor
Hi,
I'm currently trying to build cross-compilers on my system. I found two
issues:
* Following the guidelines in debian/README.cross does not work; a plain
"dpkg-buildpackage" calls debian/rules clean, which regenerates
debian/control for a native build. This makes the build system break
in all sorts of horrible ways.
* I tried to set DEB_BUILD_OPTIONS='noopt,nostrip' (since I need to run
the compiler through gdb for some slightly odd reason), but this
breaks; the system expects to find files in /usr/lib/debug for some of
the library packages and tries to mv them around. Since having
DEB_BUILD_OPTIONS=nostrip set means those files won't be created,
packaging up those files does not work.
--
Fun will now commence
-- Seven Of Nine, "Ashes to Ashes", stardate 53679.4
Reply to: