delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Recipient: | djgpp AT delorie DOT com |
Message-ID: | <5607D4C3.4040800@gmx.de> |
Date: | Sun, 27 Sep 2015 13:36:35 +0200 |
From: | "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com> |
User-Agent: | Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7 |
MIME-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
Subject: | Re: djgpp to Linux ARM cross binutils |
References: | <mu8em4$bas$1 AT usenet DOT news DOT interia DOT pl> |
In-Reply-To: | <mu8em4$bas$1@usenet.news.interia.pl> |
X-Provags-ID: | V03:K0:4k5tplaY1p9lpZ3j1zImPbP+SrNCSwgJWVSMwDFwJzJMtsb/E4k |
JtnHjtsXcLiOwgxBb5k/KsDstEo62ahfAKOS5r6+2/LxPO9BpAySI6jMMX3eqr6SOuZuy2a | |
XdH5z4Y1qXGTXqHYbSDMMpPu25bA4KOSmj5F1UR9nEfxL8M4yaDIJP2mjHyp6fI4LCDd/re | |
1ZGZrCeAnNxutvw+w79uw== | |
X-UI-Out-Filterresults: | notjunk:1;V01:K0:iHZjN6XeaUk=:Shg5WyptzDLL/65wTcYs3S |
7MsuR4k5mYinnBJjsmVOvQ0KBJjx9oxW0e52/orwJvWmJpw+pVzwRXvUU+Cbhds2XxNw5oq4o | |
rZQFJD0oIFnGh7wLI5w3KQ3lSt/jybXpEUe/NcBvAH+abcQg0iGKf6GEY4GVkqSiwnCm85V0W | |
uJ1daPhAy+Lemn0qMg/UuaxmjdLxKR7vawzdgzQvMEE50aabKKAZCQS8qgRACh6UTvIRNmPyk | |
p5qTcdEqZQ708dBlBxeHsENUzZJMBGG1wOGeQe7VxIue19DdAQH189loXlVjg2LIW7X0GInp4 | |
4V8N5DQ3jlFxZdupE+L9yLpqkx6/W7vm+bLwkzdjxJWxBBcbhMOhO5RY2uFFZ7IoV/sSX+mKl | |
+TgwdXo94MOtRQBshPsrnPj0dTvR5/FQzR5lIKYL0t5LgnzhXj2OTrXs0RBbqdH4NoPQcSqIg | |
4vivqxaSu8IwmUzpg+ztTkt+VnRLsMfSUegTkIPjSkQZCogROOmqzcDBegyjV3EwDK2Bn8dF5 | |
xNsWrgaXLxgiYN9jvTotaoPEjYzYW7qwML/Joy3QrYaQ2l3BKQLgSyu88d6UuNQVBj8N/edzL | |
qBt3He3wB81bXmNqfDH1dr4tqulX2zcjQvGATnu1o/nQ1xxYKYrzq6M2cHsxlMoZOwQA54/Hj | |
1+yXWar50GpUWv5Z4Rc98GjKLY3+NEArtLnFH2UmKQquLqxkoFHofuHXhls91EfKZxnkfe5+n | |
aDggXJ5jqXpY1dsghk2ZJLPQVqVnUBvN2cggDg== | |
Reply-To: | djgpp AT delorie DOT com |
Am 27.09.2015 11:59, schrieb Wiktor S. (wswiktorSP AT Mpoczta DOT fm) [via djgpp AT delorie DOT com]: > I want to build a version of as and ld that would output Linux for ARM (ELF) binaries. > Is it possible to configure DJGPP sources of binutils in such a way? > > -- > Wiktor S. > Please note that I will not support anything else than my port of binutils aka bnu2251sr2.zip and DJGPP 2.05. If you use a different setup you are alone. Theoretically every target supported by binutils should be possible. Please install bnu2251sr2.zip and edit djgpp/build.sh adding the target option like in the patch below: --- build.sh.orig 2015-09-27 13:18:42 -25244 +++ build.sh 2015-09-27 13:21:18 -25244 @@ -425,7 +425,7 @@ ../configure --disable-dependency-tracking ${NLS_SUPPORT} \ --with-mpc='/dev/env/DJDIR' --with-mpfr='/dev/env/DJDIR' --with-gmp='/dev/env/DJDIR' \ --enable-install-bfd --enable-install-libiberty \ - --enable-build-warnings=-Wimplicit,-Wcomment,-Wformat,-Wparentheses,-Wpointer-arith >> build_log.txt 2>&1 + --enable-build-warnings=-Wimplicit,-Wcomment,-Wformat,-Wparentheses,-Wpointer-arith --target=MACHINE-SYSTEM-RELEASE-VERSION >> build_log.txt 2>&1 echo >> build_log.txt echo ################################################################################ >> build_log.txt Please note that it is *your* job to figure out what the right values for: MACHINE-SYSTEM-RELEASE-VERSION are. I also do not remember if it is the right syntax. May be it is like this: MACHINE:SYSTEM:RELEASE:VERSION Anyway I have serious doubts about a MSDOS/DJGPP/COFF to Linux/ARM/ELF cross-compiler. Why not use Linux directly as host? Regars, Juan M. Guerrero
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |