Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cross Compiling to PC

3 views
Skip to first unread message

Heugten, T. van

unread,
Jun 2, 1999, 3:00:00 AM6/2/99
to
Hello,

Did somebody attempt to build a C-cross compiler on
a HP/UX system for DOS? I gave up after the problems
I had with it. These are the steps I took:

1) Downloading gcc-2.8.1 from www.gnu.org
2) gunzip gcc-2.8.1.gz.tar.gz
3) tar -xvf gcc-2.8.1.tar
4) Downloaded djcrx202.zip from www.delorie.com
(This is the section needed for cross compiling)
5) unzip -a djcrx202.zip
6) Copy all the include files from the extension to
gcc-2.8.1/include
7) Download the bnu281b.zip from www.delorie.com
8) unzip -a bnu281.zip
9) Build the binutils
10) in gcc, do:
configure --prefix=/home/my_dir/local/gnu --target=i586-pc-msdosdjgpp

then build gcc281. This fails on an an assembler error in an
intermediate file. It seems like a GNU assembler producing PC
assembly code is called.

I'm out of clues. Did somebody already try this? And if I want
to compile C++ programs, do I need the gpp281b.zip package too?

Any help would be greatly appreciated!


Thanks,
Theodoor.

--

-----------------------------------------------------
ing. T.A.M. van Heugten
High Tech Automation
Ekkersrijt 4006, 5692 DA Son, The Netherlands
Phone : +31-499-474725
WWW : http://www.hta.nl
E-mail: theo.van...@hta.nl
-----------------------------------------------------
Philips Research Laboratories, Building WAY-P074
Prof. Holstlaan 4, 5656 AA Eindhoven, The Netherlands
Phone : +31-40-2745141
E-mail: heug...@natlab.research.philips.com
-----------------------------------------------------
-- These opinions are solely my own --
-----------------------------------------------------

0 new messages