Hi, > On a related note, I'm thinking that *all* packages using ./configure > should be using: > DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) > DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) > ... > ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ > ... > > This then allows cross-builders to simply call dpkg-architecture to set > the correct environment and ./configure will do the right thing.
What about packages which do not use configure? Are there any rules to follow, especially if you need to pass CC and other options to upstream's build system, which is just a bunch of Makefiles in this case. Although I doubt that anybody would cross-compile this package, I'd appreciate some general hints. Thanks, Bernd -- Bernd Zeimetz <[EMAIL PROTECTED]> <http://bzed.de/> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]