Mail Archives: djgpp/1995/06/15/19:19:05
> > 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
- Raw text -