www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/19/00:18:50

Xref: news-dnh.mv.net comp.os.msdos.djgpp:1640
Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!swrinde!elroy.jpl.nasa.gov!lll-winken.llnl.gov!fnnews.fnal.gov!nntp-server.caltech.edu!copeland
From: copeland AT alumni DOT caltech DOT edu (Jeffrey L. Copeland)
Newsgroups: comp.os.msdos.djgpp
Subject: MK_FP and FP_OFF?
Date: 18 Aug 1995 18:28:47 GMT
Organization: California Institute of Technology, Alumni Association
Lines: 11
Nntp-Posting-Host: alumni.caltech.edu
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

I'm trying to recompile GhostScript, and end up with four undefined
symbols:  inportb and outportb, which are in libpc.a, and hence no problem,
and MK_FP and FP_OFF.  The latter ones are also used extensively in the
source for go32, it appears, but aren't defined anywhere I can find.

I would guess that their definitions should be roughly:
	#define MK_FP(a,b)   (((a)<<4) + b)
	#define FP_OFF(a)    ((a) & 0x000f)
Correct?

What am I missing?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019