Southpaw a écrit:
I am trying to compile a previous turbo pascal program into GPC. In that programm I used the PreFixSeg variable. I keep getting an error from GPC on this variable. Is there a GPC equivalent or a way to get around this?
This too dos-specific to be contained in gpc. I had a look to libc to see if there is some _dos or _dpmi function giving that. No way. You should ask to people in comp.os.msdos.djgpp if anybody knows a hack, presumably some C function or variable. Then you could use it in a gpc program with a C or AsmName directive, or may be the Chief will include it in the next release of bpCompat. Otherwise you should explain to what purpose you access such low level information, to see if there is a higher level, thus more portable, way to do the same job.