delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/05/23/23:36:02

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Authenticated: #13779288
Date: Mon, 24 May 2004 10:33:19 +0700
From: The Thanh Han <hanthethanh AT gmx DOT net>
To: djgpp AT delorie DOT com
Subject: building djgpp cross-compiler for gcc-2.95.2 on linux -- where to find build-djgpp.sh
Message-ID: <20040524033319.GA718@monty>
Mime-Version: 1.0
User-Agent: Mutt/1.3.28i
Sender: <thanh AT monty DOT localnet>
Reply-To: djgpp AT delorie DOT com

Dear all,

I was trying to build the djgpp cross compiler on linux ppc (debian
woody). Having followed the instructions at
http://users.erols.com/praccompsol/djgpp/linux-x-djgpp-revised.txt
I could build gcc-3.2.2 and binutils-2.13.1. The problem is however with
using the cross compiler to build C++ programs: even the simplest C++
programs crash.

I did some searching and this looks like a known problem, but doesn't
have a workaround yet. Hence I think switching to gcc-2.95.2 might help.
I found at http://sources.redhat.com/ml/crossgcc/2000-q2/msg00255.html
the following info:

> My efforts toward building a linux-hosted msdosdjgpp targetted
> crosscompiler were finally succesfull after I tried the build-djgpp.sh
> script with
> 
> djcrx202.zip
> gcc-2.95.2.tar.gz
> binutils-2.9.1.tar.gz

However I cannot find the script build-djgpp.sh mentioned above. Can
someone please give me a hint where I can get it?

I also tried to apply the instructions for buiding gcc-3.2.2 to
gcc-2.95.2. However I cannot find the script unpack-gcc.sh for
gcc-2.95.2. I used the script distributed with gcc322s2.zip, and I could
build the cross compiler. The "Hello, world!" example in C++ also works.
However I am a little bit worried, because the unpack-gcc.sh script
didn't apply any patch to the gcc sources, as shown in the log file (unpack-040523):

...
./unpack-gcc.sh: cd: diffs/source: No such file or directory
./unpack-gcc.sh: cd: diffs/build.gcc: No such file or directory
./unpack-gcc.sh: cd: diffs/install.gcc: No such file or directory
...

I would like to ask whether those errors are serious, and what I should
try to fix them?

Thanks for your time,
Thanh

- Raw text -


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