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. > 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 ? (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). Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]