On 2007-03-13 22:33 +0000, Neil Williams wrote: > On Mon, 5 Mar 2007 10:43:22 +0000 > Wookey <[EMAIL PROTECTED]> 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?
http://wiki.debian.org/ArmEabiHowto has the details. The answer is: http://armel-debs.applieddata.net/debian > 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? Pass. quite possibly. Passing the full set that dpkg-architecture returns is probably safest. Wookey -- Principal hats: Balloonz - Toby Churchill - Aleph One - Debian http://wookware.org/ -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]