creating Windows executable functors on Unix

Leif Kornstaedt kornstae at ps.uni-sb.de
Mon Jul 23 14:42:11 CEST 2001


Denys.Duchier at ps.uni-sb.de (Denys Duchier) writes:
> Is it possible to compile ozwrapper.bin, check it into the cvs and
> also always install it on Unix?  If this make sense, then we could
> easily create executable functors for Windows from our Unix machines.
> I volunteer to extend the compiler command line interface to make this
> possible,

The command line interfaces of ozc and ozl already support this:

--execheader=STR              Use header STR for executables
                              (Unix default:
                               "#!/bin/sh\nexec ozengine $0 "$@"\n").
--execpath=STR                Use above header, with ozengine
                              replaced by STR.
--execfile=FILE               Use contents of FILE as header
                              (Windows default:
                               <ozhome>/bin/ozwrapper.bin).
--execwrapper=FILE            Use above header, with ozwrapper.bin
                              replaced by STR.

These options are all supported on both Windows and Unix,
only the defaults are different (as alluded to in the
help text).

> but the ozwrapper.bin issue should be dealt with by a
> Windows expert.

I would suggest that we use the same mechanism as for
ozc.ozt.gz, among others.

Leif.
-
Please send submissions to hackers at mozart-oz.org
and administriva mail to hackers-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.





More information about the mozart-hackers mailing list