Mail Archives: djgpp/2004/05/23/23:36:02
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 -