Mail Archives: djgpp/2015/09/27/10:30:09
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 -