Mail Archives: djgpp/1999/11/02/08:15:26
On Mon, 1 Nov 1999, David C. Hoos, Sr. wrote:
> If I have already-built Micro$oft- or Borland-compiled
> libraries, is there any way to use these libraries in djgpp
> programs, e.g., by file format conversion, or whatever?
Not really. This way should be taken only as desperate measures, when
you have no access to the sources of the compiled libraries. The
chances of success are usually slim.
> Alternatively, if I have the source files for the libraries,
> with Makefiles for Micro$oft or Borland compilers, in general,
> how difficult is it to modify (I presume with #ifdefs in the
> header files) these sources to compile with gcc?
It depends on what non-standard extensions your programs use. If you
tell a few more details about the programs, it might be possible to
come up with a more concrete answer.
> Are there any FAQs, books, or other resources on how to do this
> sort of thing
Try Chapters 18 and 17 (in that order) of the DJGPP FAQ list
(v2/faq211b.zip from the same place you get DJGPP), and then ask
specific questions if the FAQ leaves something unclear.
> or am I asking for the impossible, or impractical?
It is both possible and practical.
> As still another alternative, is there a decent serial
> communication library for djgpp?
Check section 22.3 of the FAQ, it mentions a few of them.
- Raw text -