[Info-vax] Non-portable code

Michael Moroney moroney at world.std.spaamtrap.com
Wed Jan 6 23:30:25 EST 2010


Speaking of reading executables and non-portable code...  I had to convert
some VAX code to Itanium which used the macro assembler and linker in a
semi-trivial way to "compile" data (which were in the form of macros) into
a binary file.  The old procedure used a $ LINK/NOHEADER (or similar) to
produce a data-only .EXE that could be used as-is as binary data.  No such
qualifier on Itanium... I had to code up a little program that interpreted
the ELF format and extract the binary, although it did appear that simply
ignoring the first block of data would have worked.  To make things more
difficult, the VAX procedure used .STB files...not available on Itanium.
A second little ELF program...




More information about the Info-vax mailing list