nanogui: Building Microwindows under DOS with DJGPP.
Subject:
Re: Building Microwindows under DOS with DJGPP.
From:
Victor Rogachev ####@####.####
Date:
23 Mar 2001 06:47:03 -0000
Message-Id: <3ABAF178.994E5E24@sut.ru>
Hi,
I am crazy too :-)
Now I have compiled a lot of mwin for DJGPP but not alll.
I am gouing to send my patches to Greg.
To include libs you should fix the makefiles.rules :
################## Libraries Section ##################
MWINLIBS = $(TOP)/lib/libmwin.a $(TOP)/lib/libmwinlib.a\
$(TOP)/lib/libmwengine.a $(TOP)/lib/libmwdrivers.a\
$(TOP)/lib/libmwfonts.a $(TOP)/lib/libmwimages.a
CCMWINLIBS = -lmwin -lmwinlib -lmwengine -lmwdrivers -lmwfonts -lmwin -lmwimages
-lm
YOU HAVE TO USE LIBMWIM.A 2 TIMES !!!
Greg, what do think about ?
Best regards,
Victor.
Simon Wood wrote:
> As the subject suggests I trying to build Microwindows under
> DOS with DJGPP.
>
> I've installed DJGPP and the GRX library - these appear to function
> OK.
>
> I've edited the Config file so that I am only building Microwindow
> demos and specified the DJGPP option.
>
> Problems.
> 1). libmwengine.a fails to build as devtimer.c fails. I believe that this
> is because the type MWTIMER is not defined (in include/device.h it
> is only define when UNIX). I have no idea how to implement this under
> DOS, forcing the UNIX def gets around this a lets me find the next error....
>
> 2). When linking Mdemo I get an undefined reference to 'CreateFont'
> (mwin/winlib/edit.c).
>
> Anyone found the fixes for these?? or am I the only (crazy) one
> compiling on a non UNIX platform??
> Simon Wood
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
--
Victor Rogachev ####@####.####