[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon May 18 18:07:14 2001 
Subject:Re: [beginner] how to compile a pop11 program? 
From:Stephen Isard 
Volume-ID:1010518.05 

marcello@firstlinux.net wrote:

> Can a pop file be compiled in a standalone program ( I mean a program
> that run without pop11 being installed)?

I have done a small experiment.  I wrote a file called junk.p containing
the lines

define constant procedure junk;
'hello world'=>
enddefine;

On a linux system with poplog installed, I gave the command:

popc -e junk junk.p

A file named a.out was created, which I transferred to another linux
machine with no poplog files on it.

I ran a.out on the machine with no poplog installed and it printed

** hello world

So there is hope for you, but I don't know what problems you might
encounter in trying to scale up from my tiny program.  By the way, the
size of a.out was 569600 bytes, so it evidently contains a certain
amount of the pop system within it.

Stephen Isard