Hi Tony,
I'd like to know if I can expect UD/UV code compiled without optimization
on Win32 to run on *nix.
The object code is not hardware dependent as it is executed by a virtual run
machine. It is, however, byte order specific.
On UV, if the byte ordering is incorrect, the program loader automatically
converts the program. It is, therefore, possible to compile a program on
Windows and run it on, for example, an RS6000. We frequently do this for
application software. This mechanism is also essential to allow execution of
I-types in mixed hardware networks. There is, of course, a small performance
advantage in converting the program permanently which can be done with the
fnuxi or format.conv tools.
On Unidata, it is necessary to convert the program with the convcode tool.
You also need to be careful about operating system dependencies in the
programs. Have you, for example, hard coded the operating system pathname
delimiter character? (That is why QM introduced the @DS token for the
directory separator - Others have yet to catch up on this one!).
Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
+44-(0)1604-709200
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/