Mail Archives: djgpp/1996/10/12/01:15:25
timolmst AT cyberramp DOT net wrote:
>
> I'm rooting through DJGPP V2.0 and wondering. Does this software have
> to be built on a Unix box? All the install files I see appear to be
> unix scripts, with references to a unix "SH" shell. The makefiles are
> this way too. I don't speak either one of these foriegn languages. Am
> I just SOL?
Since all of the packages did have to be compiled on a DOS box at some
point, obviously somebody must have gone to the trouble of DOS-ifying
things. :)
All the source distributions of the djgpp packages have a batch file
called 'config.bat', 'configur.bat', or the equivalent, which should be
used to modify all the makefiles and other data to work with DOS by
typing simply: config[ur] msdos
Note that you will still need some Unixy utilities because DOS just
doesn't have some of the required functionality. Specifically, you
should probably get 'sed118b.zip' from the djgpp distribution, and the
GNU fileutils package
(ftp://ftp.simtel.net/pub/simtelnet/gnu/gnuish/dos_only/fut312bx.zip).
Eli/DJ: Correct me if I'm wrong, but aren't all the djgpp source
distributions already configured for MS-DOS?
> Unix shell scripts seem to do a LOT more than a DOS batch file, and
> Unix makefiles still look like greek to me.
Most of those odd things you see are most likely just the Unixy
utilities I mentioned above, like sed, rm, ls, mv, etc. The sed118b and
fut312bx packages will give you that functionality without needing to
install Unix. :)
> I'm trying to get at some cross-platform developement tools. I see
> references in the BNU/GAS files to support for the Z8000, but it looks
> like there is at least one file missing; ../opcodes/z8k-opc.h. It is
> referenced in a makefile, but it ain;t there after unpacking the zip
> file.
As I understand it, some of the cross-platform files were deleted from
the djgpp distributions to save space and because they weren't
necessary. Some people have reported that it's necessary to get the
headers from the actual GNU source distributions.
HTH!
John
--
John M. Aldrich <fighteer AT cs DOT com>
* Anything that happens, happens.
* Anything that, in happening, causes something else to happen,
causes something else to happen.
* Anything that, in happening, causes itself to happen again, happens
again.
* It doesn't necessarily do it in chronological order, though.
--- Douglas Adams
- Raw text -