X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.129.85.149 with SMTP id j143mr20429823ywb.31.1443469927066; Mon, 28 Sep 2015 12:52:07 -0700 (PDT) X-Received: by 10.182.120.74 with SMTP id la10mr70814obb.3.1443469927031; Mon, 28 Sep 2015 12:52:07 -0700 (PDT) Newsgroups: comp.os.msdos.djgpp Date: Mon, 28 Sep 2015 12:52:06 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse AT google DOT com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=78.42.224.28; posting-account=OsAajgoAAADdKJnkJkmhzqP0jo6I_P_0 NNTP-Posting-Host: 78.42.224.28 References: <5607D4C3 DOT 4040800 AT gmx DOT de> <4b10ba83-055b-4ff9-bdd1-81b37c9aee36 AT googlegroups DOT com> <56083B83 DOT 6040707 AT iki DOT fi> <56086184 DOT 9070505 AT gmx DOT de> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0d606330-1db7-4f3f-ba6a-f711ab5960d5@googlegroups.com> Subject: Re: djgpp to Linux ARM cross binutils From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com]" Injection-Date: Mon, 28 Sep 2015 19:52:07 +0000 Content-Type: text/plain; charset=ISO-8859-1 Bytes: 3392 Lines: 42 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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 Monday, September 28, 2015 at 9:08:01 PM UTC+2, Wiktor S. wrote: > > The issue reported by user cannot be reproduced on any system where I > > can check. > > It may be a bash issue or a sed issue, but without accurate > > knownledge about > > the user's system it becomes impossible to reproduce and to debug. > > I made a clean install of DJGPP from all the files you have listed, and > everything compiles. Well, this is the most important outcome of the experiment to me. ;-) It shows that it is possible build binutils from the distributed DJGPP port for other people than me. Neither less it remains a fact that it is necessary to have some kind of Windows OS. All my intents to use plain DOS (aka either DOS 7 from Win98SE or MSDOS 6.22 or FreeDOS) have miserably failed. The worst seems to be FreeDOS but in the end they all fail and are useless. Here a lot of work needs to be done if plain DOS shall still be of some use to compile contemporary GNU software. > Although it does not work. > > 'as' compiles a bit of ARM assembly, the resulting .o looks like an ELF, but > is not recognized by ld nor objdump. > > perhaps this is a makefile or #ifdef problem and some wrong constants are > picked. > > I won't have time to pursue this, at least for now. > > "does not work due to bugs" is the outcome of the experiment :-) IMHO this is not surprising. Theoretically for every 2 systems A and B supported by binutils it should be possible to create a cross-compilers but this implies continuous support for both systems by the maintainers and/or users of them but this is certainly no longer true for an archaic system like MSDOS/DJGPP. We can consider our self fortunate that they have still not dropped DJGPP support as they have done for other old systems. Here you are alone. I do not have access to an ARM system and I am not familiar at all with it with ARM assembler. I was really surprised that someone ever tried to create a DJGPP-to-something cross-compiler at all. Regards, Juan M. Guerrero