> From: Patrick Lam <[EMAIL PROTECTED]>
> Date: 2002/05/14 Tue PM 07:23:56 EDT
> To: [EMAIL PROTECTED],  [EMAIL PROTECTED]
> Subject: Re: Re: Some stuff I would like to do later this week
> 
> On Tue, May 14, 2002 at 07:14:20PM -0400, [EMAIL PROTECTED] wrote:
...
> 
> > Just as a side note, if I do manage to find time to
> > continue working on my DOS port, should or may I commit
> > some patches that allow the XP code (and make system) to
> > work with DJGPP?
> 
> What do the patches look like?  Do they make things uglier?
> 
> pat
> 

I haven't worked on it in a few months, so I need to
update it to match, but last time I tried the patches
were simply to add DOS as a platform where platform
specific #defines are.

e.g.
+# DOS (DJGPP i386/Allegro)
+ifeq ($(OS_NAME), DOS)
+include $(ABI_ROOT)/src/config/platforms/DOS.mk
+endif
+

and a couple add __DOS__ to some define sections e.g.
-#if !defined(WIN32) && !defined(__BEOS__) && !defined(__QNX__) && !defined(__APPLE__)
+#if !defined(WIN32) && !defined(__BEOS__) && !defined(__QNX__) && !defined(__APPLE__) 
+&& !defined(__DOS__)


So far I've only had to patch 5 files, and I have a
chunk of the platform classes stubbed with a few
implemented (based mostly on a mixture of the Windows
and Unix sources, whichever is more appropriate).

I'm not concerned about comitting them as this is something
I am working on in my spare time and will probably take
me a year or so for anything even remotely usable.
For those who think I'm nuts, the actual reason I got
involved with AbiWord development was to do this port.
There was discussion about lack of a modern WP for DOS
on a DOS list I read, having recently ran into AbiWord 0.7
being used as the basis for a script writing program,
its cross platform build system seemed great for porting
an existing WP to DOS (386+ protected mode DJGPP that is).
I fell for the ant and have been trying help ever since. :-)

If you are really curious, I will periodically update
the zip file with my work on my site
http://abiword.pchasm.org/abiword/patches/  dapiword.zip

Jeremy Davis
[EMAIL PROTECTED]


Reply via email to