delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/09/27/10:30:09

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.140.144.215 with SMTP id 206mr13949793qhq.6.1443363518443;
Sun, 27 Sep 2015 07:18:38 -0700 (PDT)
X-Received: by 10.182.236.35 with SMTP id ur3mr35063obc.5.1443363518405; Sun,
27 Sep 2015 07:18:38 -0700 (PDT)
Newsgroups: comp.os.msdos.djgpp
Date: Sun, 27 Sep 2015 07:18:38 -0700 (PDT)
In-Reply-To: <mu8qgk$41f$1@usenet.news.interia.pl>
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=46.5.89.169; posting-account=OsAajgoAAADdKJnkJkmhzqP0jo6I_P_0
NNTP-Posting-Host: 46.5.89.169
References: <mu8em4$bas$1 AT usenet DOT news DOT interia DOT pl> <5607D4C3 DOT 4040800 AT gmx DOT de> <mu8qgk$41f$1 AT usenet DOT news DOT interia DOT pl>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6a3bdf4b-7eaa-4285-9350-9d9c93b01b16@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]" <djgpp AT delorie DOT com>
Injection-Date: Sun, 27 Sep 2015 14:18:38 +0000
Bytes: 4343
Lines: 62
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

On Sunday, September 27, 2015 at 3:21:26 PM UTC+2, Wiktor S. wrote:
> It seems that make fails, even for standard build without --target added:
> 
>     c:/dj/gnu/binutils-2.25.1/binutils/configure: line 9052: unexpected EOF 
> while lo
>     oking for matching `''
>     c:/dj/gnu/binutils-2.25.1/binutils/configure: line 9053: syntax error: 
> unexpecte
>     d end of file
>     Makefile:3447: recipe for target 'configure-binutils' failed
>     make.exe[1]: *** [configure-binutils] Error 1
>     make.exe[1]: Leaving directory 'c:/dj/gnu/binutils-2.25.1/djgpp'
>     Makefile:845: recipe for target 'all' failed
>     make.exe: *** [all] Error 2
> 
> Why is that?
> Is it normal that make tries to configure something, when build.sh had 
> already been run?
> 
> 
> > Anyway I have serious doubts about a MSDOS/DJGPP/COFF to
> > Linux/ARM/ELF cross-compiler. Why not use Linux directly as host?
> 
> The compiler in question is Free Pascal. A cross-compiler builds without 
> issues, but it needs proper binutils to compile anything.
> 
> This is more of a proof-of-concept, because I already have a working 
> win32-hosted toolchain.
> 
> 
> --
> Wiktor S.


It is completely impossible to me to reproduce what you are describing.
I have build the binutils port exactly by running the unmodified build script.
The only thing you need to do is to type sh build.sh from inside the /djgpp directory and it will configure and compile the complete set of libraries and programs.
There is only one single prerequisite:  the __ONLY__ operating system I support for building binutils and all my other ports is Windows XP SP3.  The only reason for this is that this the only Microsoft operating system that I still have and use.
It is absolute __forbidden__ to use FreeDOS of any version.  FreeDOS has at least one issue that makes it impossible to run shell scripts but tere may be more.  It is also completely clear that LFN support is required.

c:/dj/gnu/binutils-2.25.1/binutils/configure: line 9052: unexpected EOF 
> while lo
>     oking for matching `''
>     c:/dj/gnu/binutils-2.25.1/binutils/configure: line 9053: syntax error: 
> unexpecte
>     d end of file

This shows that for a reason that is particular to your system, the output of sed has been aborted producing a brocken binutils/configure.  I cannot reproduce this on my WinXP system.

If this is a proof-of-concept, please send me the target value and I will try to see how far I come.

Again, there is absolute no secret and trick to build binutils from the sources.
The only prerequisite is Windos XP or some equivalent NTVDM.  Only the following
port are required:
bnu2251br2.zip, bsh205bbr4.zip, bsn241br2.zip, dif33br3.zip, djdev205.zip, djtzn205.zip, ed-110b.zip, 
fil41br2.zip, flx254br2.zip, fnd4233br5.zip, gcc520b.zip, gpp520b.zip, grep221br2.zip, gro1223b.zip, 
gwk411br2.zip, m4-1417br3.zip, mak41br2.zip, mktmp17br3.zip, pat271br2.zip, perl588b.zip, sed422br2.zip, 
shl2011br2.zip, txi413br3.zip and txt20br2.zip

Please note that they are _all_ from the /beta directory.

Regards,
Juan M. Guerrero

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019