Bill Allombert wrote: > On Wed, Nov 14, 2007 at 09:02:02AM +0000, Neil Williams wrote: >> Package: libjpeg6b >> Version: 6b-14 >> Severity: wishlist >> Tags: patch >> User: [EMAIL PROTECTED] >> Usertags: crossbuilt >> >> --- Please enter the report below this line. --- >> >> As part of the long term mass bug filing for cross building support, >> (http://lists.debian.org/debian-devel/2007/11/msg00116.html), I've >> prepared this patch for debian/rules. >> >> The patch also wraps 'make check' in a test for the 'nocheck' >> DEB_BUILD_OPTION and prevents the replacement of the original 'libtool' >> script when cross-compiling (the wrapper created by the package fails >> to pass the correct tags to the cross compiler; using the original >> script allows the cross build environment to handle the libtool call). > > Hello Neil, > > I do not understand how do that work given than the original libtool > script is not able to build the package.
The patched source is capable of building natively and cross - tested prior to filing the bug report. >> Note that libjpeg6b needs to be told about the cross-compiler in >> --build and --host as well as in the $(CC) variable to configure, it >> also requires $(CC) to be set to the cross compiler for each of the >> $(MAKE) commands. I suspect this is related to #346126. >> >> I can split these out into other bugs if you prefer but all changes >> affect the same file and achieve the same purpose: supporting cross >> building. >> >> Please consider implementing this patch. Thanks. > > Did you check this patch actually allow libjpeg to be cross-compiled ? > If yes, how did you proceed ? http://www.emdebian.org/packages/search.php?arch=arm&distro=unstable&package=libjpeg62 http://buildd.emdebian.org/svn/browser/current/target/trunk/l/libjpeg6b/trunk/libjpeg6b_6b-14em1_arm.build > (Personnally I use distcc+crosscc+an emulator to cross build packages > This is extremly reliable and does not require any changes to packages > build scripts but it is slower than true cross-compiling because some > part run inside the emulator). Emdebian will not be using emulators - it's all to be cross built from Debian sources. I also disagree on the reliability of emulators but that's by the by. http://www.emdebian.org/ -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
signature.asc
Description: OpenPGP digital signature

