Mail Archives: djgpp/1998/07/01/00:15:52
Matthew Johnson wrote:
>
> Hi
> I recently downloaded djgpp and the source codes for a mud I managed
> to compile most of the source for the mud but to files are h files and
> djgpp won't compile them can u please give me some advice on how to
> compile them or at least get round it
I'm not sure what you are trying to do... you do not compile header
files; they are included by each source file that uses them. If you are
trying to compile the MUD manually (one source file at a time), STOP!!
Download GNU Make (v2gnu/mak3761b.zip) and use the makefile that comes
with the MUD source to build the entire thing all at once. You may need
to tweak the makefile to use DOS commands, or download the GNU fileutils
(v2gnu/fil316b.zip) to get 'rm', 'mv', 'cp', etc.
You may still encounter errors in some source files because they assume
certain things about the compiler environment (like #define'd errno
constants). Changing these is relatively trivial. If you need more
assistance you can email me privately. Please mention the code base and
version that you are trying to build.
--
---------------------------------------------------------------------
| John M. Aldrich | A singer in a smoky room / Smell of |
| aka Fighteer I | wine and cheap perfume / For a smile |
| mailto:fighteer AT cs DOT com | they can share the night / It goes |
| http://www.cs.com/fighteer | on and on and on... |
---------------------------------------------------------------------
- Raw text -