[net.unix-wizards] Seperate Compilation in Berk. Pascal

ss@wivax.UUCP (06/02/83)

Hi folks - we are running 4.1BSD.  You are alleged to be able to do
seperate compilation of external modules using Berk Pascal.  This
is described in the pc man entry and the Berk Pascal User's guide.
But it doesn't seem to work.  You get undefined symbols in the loading
phase. Even if you explicitly load in the libraries that the pc man entry
says are pascal libraries - still no dice.  Has anyone done this?
Could he/she/it send me the how tos? Or perhaps a tiny sample of how?
Thanks, folks

Sid Shapiro -- {decvax,linus}!wivax!ss -- Wang Institute
	       ss.Wang-Inst@UDel-Relay -- (617)649-9731
-- 

Sid Shapiro -- {decvax,linus}!wivax!ss -- Wang Institute
	       ss.Wang-Inst@UDel-Relay -- (617)649-9731

markb@sdcrdcf.UUCP (06/09/83)

Do the final linking with the pc command not the ld command as in:

pc file1.o file2.o file3.o file4.o -o prog

and everything will work fine.

					Mark Biggar
				  {cbosgd,trw-unix,sdcsvax}!sdcrdcf!markb