On Mon, 5 Mar 2007 10:43:22 +0000 Wookey <wookey@aleph1.co.uk> wrote: > > /usr/arm-linux-gnueabi/ ? shouldn't that be /usr/armel-linux-gnu/ ? > > No. See discussions passim about arch names. The dir for this stuff > is: $(CROSSBASE)/$(DEB_HOST_GNU_TYPE) - i.e. GNU type not some combo > of debian arch name and gnu name, which is what armel-linux-gnu would > be. That illuminated a bug in emchain which assumed -linux-gnu. I've corrected that now, it reads the DEB_HOST_GNU_TYPE from dpkg-cross.pl as it should have done originally. (Fix in r650). http://buildd.emdebian.org/svn/changeset/650 BTW, where is Lennert's ADS repository? I'd like to be able to reproduce your build. I've tried using the patch from #408807 but that is not sufficient. > > Have you tried using emchain after manually setting the > > ~/.dpkg-cross/cross-compile file to specify the new armel > > architecture? emchain doesn't care *what* string is put in > > default_arch, as long as dpkg-cross can handle it. I'll add a note > > to the manpage to the effect that the list presented by debconf is > > just the most common / predictable options. > > No, because the upstream sources do not have all the patches I need, > and so far as I could see emchain would always download upstream > sources, not use some sources provided for it in an arbitrary place. > If it could do that I would have given it a go. Hmm, emchain relies on apt-cross to detect whether to download packages or to use existing files. apt-cross in turn depends on apt-get source which will skip existing files. If the replacement sources use precisely the same filenames, emchain will use whatever exists in the specified working directory. In that context, it could work - albeit you may have to specify DEB_HOST_GNU_TYPE=armel-linux-gnueabi somehow as emchain does not pass that variable into the environment of the build. Is it worth passing that variable (with the value returned by dpkg-cross.pl) to gcc by default? I haven't put these changes into an 'emdebian-tools 0.0.6' in the emdebian repository yet because I'm planning on making the 0.1.0 release and upload to Debian tomorrow. Subsequent changes can go into the emdebian repository at 0.1.1. -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
Attachment:
pgp2nO52200Vm.pgp
Description: PGP signature