[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problem with gpc



dear all,

i trying to use gpc to test my programs as i write them for a
programming class i am taking.  anyways, i tried to compile my first
dinky little program and i get this error:

ld: cannot open -lgpc: No such file or directory

i am sure that it is not a problem in the program because it compiles
under gpc on another linux system (non-debian) and it compiles on our
campus VMS.  it also looks to me to be a more system related problem.
what's up?  (please help me!)

confused,
paul j. thompson

p.s.  for good measure, here's the program:

PROGRAM LAB3 (INPUT,OUTPUT);
(*	Paul J. Thompson		*)
(*	September 9, 1997		*)
(*	CS2113				*)
(*	Lab Section 1			*)
CONST
   PRICE = 3;
VAR
   ITEMS,
   TOTALITEMS,
   COST : INTEGER;
BEGIN
   TOTALITEMS := 0;
   WHILE NOT EOF DO
   BEGIN
      READLN(ITEMS);
      TOTALITEMS := TOTALITEMS + ITEMS;
      COST := ITEMS * PRICE;
      WRITELN(ITEMS:3,' ITEMS COST $',COST:3);
   END;
   WRITELN;
   WRITELN('TOTAL ITEMS SOLD = ',TOTALITEMS:3);
END.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: