X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Subject: Re: djgpp to Linux ARM cross binutils To: djgpp AT delorie DOT com References: <5607D4C3 DOT 4040800 AT gmx DOT de> <4b10ba83-055b-4ff9-bdd1-81b37c9aee36 AT googlegroups DOT com> <56083B83 DOT 6040707 AT iki DOT fi> From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" Message-ID: <5608BD9A.7090208@iki.fi> Date: Mon, 28 Sep 2015 07:10:02 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 09/27/2015 11:18 PM, Wiktor S. (wswiktorSP AT Mpoczta DOT fm) [via djgpp AT delorie DOT com] wrote: >> ./binutils-2.25.1/configure --build=i686-linux-gnu >> --host=i586-pc-msdosdjgpp --target=arm-none-eabi >> It seems that all builds OK execpt readelf.exe (linker fails to find >> mbrtowc) > > OK, I'll try tomorrow. I understand you are cross-building from Linux? > > I have tried on Windows XP with --target=arm-linux-gnueabihf which builds fine (including > readelf.exe) but the resulting as.exe generates object files that ld.exe cannot recognize ("file > format not recognized"). > > Obviously, this scenario was never tested... > > > Same results also for that target. I do not know whether built cross-binutils work. I would suggest full testing on Linux at first. FreePascal is also available for Linux, so testing would be possible. Andris