Jochen Kunz wrote:
On Wed, 2 Jan 2013 22:06:49 +0100
Holm Tiffe <holm at freibergnet.de> wrote:
Now it seems I have to analyze how I can build a
proper VAX Mop File
out of the ELF files I have
MOPCOPY(1) General Commands Manual MOPCOPY(1)
NAME
mopcopy -- Create MOP image from another executable format
SYNOPSIS
mopcopy infile outfile
DESCRIPTION
mopcopy is used to convert a file from another executable format to a MOP
image.
Elf32 and a.out VAX images are currently supported.
SEE ALSO
mopchk(1), mopprobe(1), moptrace(1), a.out(5), elf(5), mopd(8)
AUTHORS
Lloyd Parkes
Jason R. Thorpe
NetBSD 6.0_STABLE June 6, 2002 NetBSD 6.0_STABLE
--
\end{Jochen}
\ref{http://www.unixag-kl.fh-kl.de/~jkunz/}
..it where nice...but this mopcopy is nonportable NetBSD-Only Code
and I'm trying to build in a cross environment:
#ifndef NOAOUT
# if defined(__NetBSD__) || defined(__OpenBSD__)
# include <sys/exec_aout.h>
# endif
# if defined(__bsdi__)
# define NOAOUT
# endif
# if defined(__FreeBSD__)
# include <sys/imgact_aout.h>
# endif
# if !defined(MID_VAX)
# define MID_VAX 140
# endif
#endif /* NOAOUT */
#ifndef NOELF
# if defined(__NetBSD__)
# include <sys/exec_elf.h>
# else
# define NOELF
# endif
#endif /* NOELF */
(from mopd/common/file.c and mopcopy/mopcopy.c)
This <sys/exec_elf.h> or something comatible seems to be not existing on
FreeBSD.
Altough the mopcopy should exist on every NetBSD system, the provided
netboot file (from the newer Releases) for a VAX on NetBSDs FTP Server
is an Elf File and not workingi this way.
Think they lost some knowhow in the last years about VAXen.
BTW: Jochen, what about the Tek disks?
Regards,
Holm
--
Technik Service u. Handel Tiffe,
www.tsht.de, Holm Tiffe,
Freiberger Stra?e 42, 09600 Obersch?na, USt-Id: DE253710583
www.tsht.de, info at tsht.de, Fax +49 3731 74200, Mobil: 0172 8790 741