Daily Archives: 2007/08/29

Make runtime executables with VisualWorks

Hi, to all those who are doing the the WalkThrough PDF of Cincoms VisualWorks . I already thought I was dumb as I saw that on version 7.5 my version of stripped down helloworld (hello.im) never was stripped down. The solution is simple: VW 7.5 ignores the name of your image and saves the file as “runtime.im” . To get an idea got to ~/vw7.4.1ns/image (if you just upgraded 7.4.1 to 7.5) and do:

$ ls -rtl
-r-xr-xr-x 1 vinci vinci 4.1M Aug 26 14:54 install.im
-r–r–r– 1 vinci vinci 13M Aug 26 14:54 visual.sou
-r-xr-xr-x 1 vinci vinci 16M Aug 26 14:54 visualnc.im
-r–r–r– 1 vinci vinci 6.6M Aug 26 14:54 visualnc.im.zip
-rw-r–r– 1 vinci vinci 3.3K Aug 29 13:39 hello.cha
-rw-r–r– 1 vinci vinci 19M Aug 29 13:39 hello.im
-rw-r–r– 1 vinci vinci 14M Aug 29 13:40 runtime.im

You see that the last entry “runtime.im” was saved last AND is the smallest image. If you then do ../bin/linux86/visual runtime.im you get this small hello world application, really without the whole workspace. I could not find any other place where I could define the resulting runtime image. Only before – but that was ignored at the strip down process.

I found another issue on VisualWorks: You cant type “ß,ö,ü,ä” (umlauts) in Workspace or anywhere else at least in the Linux version. Taht makes it quite unusable for every day work in Germany if this is the case on every system. Maybe there is a fix for this?

1 Comment

Filed under Programming