Creating a stand-alone exec??? 
Author Message
 Creating a stand-alone exec???

FT> NNTP-Posting-Host: acmey.gatech.edu

FT> I need help with creating a stand-alone executable for Visual Works 1.0
FT> on a Mac.   Basically, I need to know how to go about doing it.  I
FT> haven't been able to find anything about it in the manuals.  
FT> Thanks,

You cannot create an executable from VW. What you do is you use a
{*filter*} (it is described in the manual) to remove the parts of the
system that should not be in your application. The {*filter*} is
customizable, so you may add some of your code prior to the {*filter*}
and after it is run. However, you still have a virtual machine that
interprets the Smalltalk p-code. From the documentation, it looks like
some portions of the system are compiled to native code and are kept
in the native code cache. I am not sure whether there is a way of
forcing the system to put everything in that form and whether it would
be possible to get rid of the virtual machine in that way.

You can create executables with STV, but I cannot say what are the
details of that.

In Smalltalk/X, you can use a Smalltalk-to-C translator and then
compile the C code to your machine native code, so it should run
faster.

--
+-----------------------------------------------------------------------+
| Andrzej Bieszczad [Un-jay Byezh-chad]    *> WELCOME TO THE MACHINE <*   |
| Carleton University, Systems & Comp. Eng., Ottawa, Canada K1S 5B6 |
| Bell-Northern Research, Ltd., P.O. Box 3511 C, Ottawa, Canada K1Y 4H7 |
| Phone: (BNR)  (613) 763-2259          (Home) (613) 825-6591           |

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! The opinions expressed here are solely my own and do not reflect the  !  
! opinions of Bell Northern Research, Northern Telecom or Carleton      !
! University.                                                           !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



Sat, 10 May 1997 08:01:29 GMT  
 Creating a stand-alone exec???
I need help with creating a stand-alone executable for Visual Works 1.0
on a Mac.   Basically, I need to know how to go about doing it.  I
haven't been able to find anything about it in the manuals.  
Thanks,
--
|  Frankie Thomason          | "You can't beat {*filter*} power. Unlimited tele-   |
|  CS, Georgia Tech          |  vision.  Plus, you can{*filter*}around with that |

-------------------------------------------------------------------------------


Sat, 10 May 1997 04:34:10 GMT  
 Creating a stand-alone exec???

Quote:
> I need help with creating a stand-alone executable for Visual Works 1.0
> on a Mac.   Basically, I need to know how to go about doing it.  I
> haven't been able to find anything about it in the manuals.  
> Thanks,
> --
> |  Frankie Thomason          | "You can't beat {*filter*} power. Unlimited tele-   |
> |  CS, Georgia Tech          |  vision.  Plus, you can{*filter*}around with that |

> -------------------------------------------------------------------------------

There's a few steps to this:
1) Strip the VW image of all the tools you no longer require (like the Browsers).
2) Save the image using the PermSpace option. (You have to do this a couple of times
        -- I think the manual has some info on this).
3) Make a copy of the VM (called oe20), and call it 'VW' (say)
4) Now next time you save your image, give it the name 'VW' -- ensuring that it's
        in the same folder as the VM.
5) You should find that the VM and the VI have been combined into the file 'VW'.

(Some techy stuff: A Mac file consists of two "forks": a data fork and a resource fork. The resource fork of your new file is the VM, and the VI is the data fork [so I believe])

Bern



Wed, 14 May 1997 04:36:29 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. To stand-alone or not to stand-alone

2. How Do You Create Stand Alone Applications?

3. Creating Stand Alone Applications With Oberon-2

4. creating stand-alone versions for easy distribution etc

5. Tkinter: easiest way to create stand-alone dialog?

6. Tclapp in windows: How to wrap a custom interpreter to create a stand-alone executable

7. How to create one stand alone executable??????

8. Creating a stand alone Python Service (win32)

9. libs for stand alone programs

10. Can any Smalltalk dialects produce stand-alone DLLs?

11. Newbie: Producing small stand-alone exes for Windows

12. ENVY in stand-alone mode

 

 
Powered by phpBB® Forum Software