Mail Archives: djgpp/1998/01/20/05:47:50
On Sat, 17 Jan 1998, Paul Derbyshire wrote:
> Lovely. What kind of changes are likely to be needed for it to compile and
> run on DOS using, say, GCC 2.7.2.1 tocompile it?
No clue. I didn't try to do that, so I don't know. I guess you would
need to get the configure shell script to run, so it creates the
Makefiles for you, and then say "make". The file INSTALL in the
source distribution should explain how to build it; for gcc, it is
usually necessary to build it twice: first with the compiler you have
(2.7.2.1), then with itself.
> Would this be needed to compile 2.8.0 or only to compile C++ with
> 2.8.0?
The latter.
> If the latter, would it be needed for ALL C++ programs oronly those using
> -lsdtcx?
The latter. But since most people cannot resist using cin and cout,
most of them will probably feel lost without the library.
> Well, I have tar and gzip.
You don't need `tar' and `gzip', DJTAR is enough: it will unzip and
untar on the fly.
> These are the sources and makefiles I assume?
Sources, yes; but not the Makefiles. GNU sources come with a large
shell script called `configure'. When run, it examines the target
system and generates the necessary Makefiles and header files. The
catch is, you need to install Bash and other utilities, and you
usually need to tweak the script itself, to have it run on DOS/Windows
(unless somebody have already submitted the necessary patches to the
GCC maintainers, and the distribution already includes a documented
way to get the script running with DJGPP tools).
- Raw text -