Article View: comp.os.msdos.programmer
Article #7872Re: BC4.5 -> gcc
From: Martin Ambuhl
Date: Wed, 06 Sep 1995 06:40
Date: Wed, 06 Sep 1995 06:40
26 lines
1426 bytes
1426 bytes
tandtcom@oslonett.no (Andreas Eide) in <42fscp$clr@hasle.oslonett.no> asks: >I have some code written in C++ that compiles with Borland C++ 4.5. >This code includes the header <dos.h>, contains interrupt routines and >calls the function setvect. >gcc also has a <dos.h> header, but does not seem to include the >setvect function and the interrupt keyword(?). How can this code be >ported to compile with gcc? 1. gcc questions are implentation-specific. You might get a reasonable answer by asking this question in one of the gnu.* or comp.os.msdos.djgpp programming newsgroups, but get their FAQ and read it first. 2. If you retrieve the FAQ from rtfm.mit.edu, you will have a better idea of the kinds of questions appropriate here. 3. gcc/djgpp is a protected-mode compiler. Attempts to do real-mode interrupts are hairy. You can check the FAQ (faq102.zip) available where you got gcc, and "info libc" under go32 functions or dpmi functions. -- * Martin Ambuhl net: mambuhl@ripco.com * Chicago, IL (USA)
Technical Details
Message-ID:
<DEH17t.CA1@rci.ripco.com>Path:
arc1-ca.pugleaf.net!gail.ripco.com!usenetShow Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer,comp.lang.c Path: arc1-ca.pugleaf.net!gail.ripco.com!usenet From: mambuhl@ripco.com (Martin Ambuhl) Subject: Re: BC4.5 -> gcc X-Nntp-Posting-Host: foley.ripco.com Message-ID: <DEH17t.CA1@rci.ripco.com> Sender: usenet@rci.ripco.com (Net News Admin) Organization: Ripco Internet BBS Chicago Date: Wed, 6 Sep 1995 06:40:41 GMT X-Ident-Sender: mambuhl