tpkg-debarch should support "arm-linux-gnu" target (was Re: small quirks setting up a cross-compile toolchain)
toolchain-source as it stands is currently unusable for building ARM
cross-compiler targets. It appears that you must specify "arm-linux-gnu" to
several of the builds in order to get the install to work correctly.
However, this target is not supported by tpkg-debarch. The attached patch is
not a complete solution, but it at least makes it *possible* to build for
arm again (so long as you use the magic "arm-linux-gnu" incantation).
Nathanael Nerode <firstname.lastname@example.org> wrote:
> See, there's your problem. Try:
> tpkg-make arm-linux-gnu
> TPKG_SERVER=ftp.yi.org tpkg-install-libc arm-linux-gnu
> And you should end up with only arm-linux-gnu.
> For obscure reasons (which I would like to get rid of), some parts of the
> cross-tools structure care about exactly what form of the system name you
> give to the tools, while others use the canonical name.
> If you still end up with two different things.... come back and complain to
> whoever's generating arm-linux.
Okay, so when I did that, I would get this message every so often:
"Hmph - dunno the arm-linux-gnu arch"
... and then eventually:
Resolving ftp.yi.org... 18.104.22.168
Connecting to ftp.yi.org|22.214.171.124|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:49:26 ERROR 404: Not Found.
Sooooo I added "arm-linux-gnu" to tpkg-debarch, and that made it work!!!
--- /usr/bin/tpkg-debarch 2005-01-06 08:26:04.000000000 -0800
+++ /usr/bin/tpkg-debarch.new 2006-07-28 10:10:29.000000000 -0700
@@ -4,7 +4,7 @@