[comp.lang.pascal] Referencing Ultrix libc.a routines in UNIX pascal

tyson@athena.csus.edu (Gary) (06/09/90)

This must be a basic question.


I am trying to reference the standard C library on an ULTRIX driven VAX
from PASCAL.  I have to place a line something like

function chmod(var outfile:nametype; n:integer):integer; external;


in order for the pascal compiler to know that it is externally defined
The compiler then gives the following warning message:

pc: Warning: test3.p, line 1544: external function chmod is already defined
	 as a library routine (/lib/libc.a, line 118).


Now, I can turn warnings off, but there must be a better way.

Does anyone (other than a few of my students) ever use pascal on ULTRIX?

Thanks for the help.

  Gary
----------------------------------------------------------------------------
Gary Tyson                   UUCP:     {ucdavis|lll-crg}!csusac!athena!tyson
Wanna buy a car or four?     Internet: tyson@athena.csus.edu
----------------------------------------------------------------------------