www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/15/01:28:27

From: Derrick Early <early AT finite DOT nrl DOT navy DOT mil>
Subject: Help with libpc!
To: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp)
Date: Wed, 14 Sep 94 20:57:26 EDT
Mailer: Elm [revision: 70.85]

I'm in the process of compiling a eprom programmer on gcc, and I'm having
trouble with the outportb and inportb routines.  I put an include <pc.h> line, 
and I used the following to compile:

gcc -g -lpc ppv2.c -o ppv2

I get lots of undefined references to 'outportb' and 'inportb' errors.

What am I doing wrong?  I thought that the include pc.h would take care of
that stuff.

Also, does anyone know where I can find a peek and a getch?

Thank you in advance.

Yours,

Derrick Early

- Raw text -


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