Date: Thu, 15 Jun 1995 16:36:21 -0500 From: Rick Bronson To: eliz AT is DOT elta DOT co DOT il Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: How to convert MASM to go32? > > Also I have the following undefines, are these in a library > > somewhere or do I need to supply them? > > > > _bios_keybrd > > _dos_getdrive > > _dos_setdate > > _dos_settime > > _enable > > _disable > > _inp > > _outp > > _strerror > > itoa > > ltoa > > inp > > outp > > It looks like you are porting a program developed under Microsoft C. > The DJGPP PC-related functions follow Borland's, not MSC's, names. > Instead of _dos_XXX search for XXX itself (like getdrive() instead > of _dos_getdrive()). Use inport() instead of inp(), enable() instead > of _enable() etc. You will have to link with libpc.a library for some > of these, so append -lpc to your link command line. You can use > sprintf() instead of itoa and ltoa. > Thanks very much for your help. Rick