Date: Thu, 15 Jun 1995 08:00:09 +0300 From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) To: rick AT rio DOT moneng DOT mei DOT com Subject: Re: How to convert MASM to go32? Cc: djgpp AT sun DOT soe DOT clarkson DOT edu > 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.