nanogui: Building Microwindows under DOS with DJGPP.


Previous by date: 22 Mar 2001 17:18:12 -0000 Re: problems with mouse handeling, Greg Haerr
Next by date: 22 Mar 2001 17:18:12 -0000 Compilation problem, Sheetal Khandkar
Previous in thread: 22 Mar 2001 17:18:12 -0000 Re: Building Microwindows under DOS with DJGPP., Simon Wood
Next in thread: 22 Mar 2001 17:18:12 -0000 Re: Building Microwindows under DOS with DJGPP., Victor Rogachev

Subject: Re: Building Microwindows under DOS with DJGPP.
From: "Greg Haerr" ####@####.####
Date: 22 Mar 2001 17:18:12 -0000
Message-Id: <013001c0b2f3$647d3c60$3aba46a6@xmission.com>

: Partial success, but now I'm really confussed.....
:
: For reference I'm using DJGPP v203 under Windows 95.
:
: 1) Turned out to be easy, patched include/drivers to be
: #if UNIX
: #include <sys/time.h>
: #endif

The MWTIMER stuff was added by a patch from Alex, I didn't
check how well it integrated with non-Linux systems.  Basically,
you'll need to typedef MWTIMER, and write a function that gets
the system time.  I think that code is in winmain.c and srvmain.c
at the bottom.

: 2). Seems to be a problem with DJGPP itself (though I'm sure that someone will
falme me to tell me I'm wrong).
: If I suffix the (long) command with 'c:/soft/dev/microwin/src/mwin/winfont.o'
(to specify another object to add) then it builds and runs.... very strange!!

This is probably a circular definition problem that the DJGPP linker doesn't
handle.  Try adding multiple -lmwengine libs etc in the command line.

Regards,

Greg




:
: Anybody have any friends in DJGPP circles who can explain this one away??
: Simon Wood
:
:
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: ####@####.####
: For additional commands, e-mail: ####@####.####
:


Previous by date: 22 Mar 2001 17:18:12 -0000 Re: problems with mouse handeling, Greg Haerr
Next by date: 22 Mar 2001 17:18:12 -0000 Compilation problem, Sheetal Khandkar
Previous in thread: 22 Mar 2001 17:18:12 -0000 Re: Building Microwindows under DOS with DJGPP., Simon Wood
Next in thread: 22 Mar 2001 17:18:12 -0000 Re: Building Microwindows under DOS with DJGPP., Victor Rogachev


Powered by ezmlm-browse 0.20.