[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon May 17 23:26:15 2001 
Subject:Re: [beginner] how to compile a pop11 program? 
From:Aaron Sloman 
Volume-ID:1010518.01 

marcello@firstlinux.net writes:

> Date: Thu, 17 May 2001 20:46:12 +0200
>
> Hello
> I am less than a beginner with pop11. In fact before starting I need the
> answer to this simple but important (to me) question:
> Can a pop file be compiled in a standalone program ( I mean a program
> that run without pop11 being installed)?
> If it possible , how can i do that?

In principle you can do it by re-building a version of the core
poplog system which includes your program and all the system
components that are required by your program.

This is not worth trying unless you are an experienced Pop-11
programmer.

The next best thing is to use the technique employed to produce
most of the usable versions of Poplog, e.g. pop11, common lisp,
prolog, poplog ML, etc. Namely you use your program source to
create a saved image myprog.psv then run it as
    pop11 +myprog

or if you are using a more restricted subset of pop11,

    basepop11 +myprog

You can of course, produce a little package which includes
the files required and then a shell script to start it all
up, so that to the user it looks like a single program.

If you are thinking of producing something that you want to
distribute to others, you will have to make sure that you include
whatever files are needed at run time. This can be a tiny subset
of the poplog system, but it may require more files than you
expect, because of the information pop-11 requires at run time.

Whether this will do what you want or not is impossible to tell
unless you specify the end requirement in more detail. That is the
method that has been used by several commercial users of poplog.

If I have not answered the question, try describing the proposed
application.

Aaron
====
Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
School of Computer Science, The University of Birmingham, B15 2TT, UK
EMAIL A.Sloman AT cs.bham.ac.uk   (ReadATas@please !)
PAPERS: http://www.cs.bham.ac.uk/research/cogaff/
FREE TOOLS: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html