Mail Archives: djgpp/1997/09/08/00:49:22
Rob Kramer wrote:
>
> Can anyone tell me if it is possible to use Watcom 32 bit libraries with
> DJGPP? I've never used Watcom; no idea what its output format is.
>
> I think I'm risking some flames here, but I couldn't find anything appropriate
> in the FAQ!
Longer answer: FAQ chapter 17.5: "I want to use .obj or .lib code with
DJGPP"
In fact, the entirety of chapter 17 discusses converting code to DJGPP;
it makes for good reading.
Since you mention 32-bit libraries, there may be a small chance that you
can convert them. First, these libraries _must_ be written as flat
model protected mode code, or they are completely unusable. If they
are, you can use one of several object code converters available on the
net to convert them to DJGPP's COFF format. Second, if they involve
things like direct hardware access (video memory, interrupts, etc.),
they probably won't work even if you do convert them.
If you are trying to convert Borland Graphics Interface (BGI) code,
there already exists a tool which can make your BGI code compatible with
DJGPP's GRX graphics library. Get 'v2tk/bccgrx20.zip' from SimTel. A
better option would be to rewrite your code to work with a different
library, such as Allegro (v2tk/alleg22.zip).
hth
--
---------------------------------------------------------------------
| John M. Aldrich | "Sex should be friendly. Otherwise |
| aka Fighteer I | stick to mechanical toys; it's more |
| mailto:fighteer AT cs DOT com | sanitary." |
| http://www.cs.com/fighteer | - Lazarus Long |
---------------------------------------------------------------------
- Raw text -