TENAGLIA@mis.mcw.edu (Chris Tenaglia - 257-8765) (12/28/90)
I noticed on my postings that some had commented that the ICONX PROGRAM ... is unnecessary. This may be partly true under unix. MSDOS needs the ICONX all the time. Under VMS we have a script called IEXE which converts ICONX PROG unto a symbol(alias) PROG. This is handy for utilities that are used very commonly. Under VMS icon paints screens so slow that I usually use DCL (shell commands) to build the screen or menu, and build icon filters to manipulate the files underneathe. Some years ago I ported ICON to a ZS-1 super-minicomputer from Astronautics. There were certain configuration parameters that were set before building the software. One or more parameters were concerned with whether icon utilities needed iconx explicitly, or if it rolled a little executable into the icode. However, since main(){printf("hello\n");} generated about 200k of executable. The icode of most of the utilities I wrote was typically 2-4k, and the disks were pretty full, it was smarter there to keep the icode separate, so iconx would be required. That was in the Icon 7.0 days, and maybe Icon 8 is much different under unix. Chris Tenaglia (System Manager) | Medical College of Wisconsin 8701 W. Watertown Plank Rd. | Milwaukee, WI 53226 (414)257-8765 | tenaglia@mis.mcw.edu, mcwmis!tenaglia
ron@mlfarm.UUCP (Ronald Florence) (12/30/90)
Chris Tenaglia - 257-8765 writes: > I noticed on my postings that some had commented that the > > ICONX PROGRAM ... > > is unnecessary. What I wrote was that the `ICONX' is system-specific, and that the users of systems which do not have direct execution (VMS, ms-dos) will know to use it. Because commands are case-sensitive, `ICONX PROGRAM' won't work on most unix systems. > The icode of most of the utilities I wrote was typically 2-4k, and the disks > were pretty full, it was smarter there to keep the icode separate, so iconx > would be required. It would be interesting to compare the size of the compiled code on various systems. The canonical hello.icn compiles to 6941 bytes here (Xenix 386, direct execution). Is it much smaller on VMS or ms-dos systems without direct execution? -- Ronald Florence ron@mlfarm.com