Date: Fri, 06 Feb 1998 11:45:30 -0500 From: Keith Moore <moore@cs.utk.edu> To: Remy NONNENMACHER <remy@synx.com> Cc: Allan Strand <astrand@linum.cofc.edu>, freebsd-emulation@FreeBSD.ORG, moore@cs.utk.edu Subject: Re: NetBSD emulation Message-ID: <199802061645.LAA13854@spot.cs.utk.edu> In-Reply-To: Your message of "Wed, 04 Feb 1998 16:10:26 -0100." <Pine.A32.3.91.980204155217.18981L-100000@rs1>
next in thread | previous in thread | raw e-mail | index | archive | help
> NetBSD *IS* emulated by FreeBSD. The problem is that someone (Net ? Free > ?) reversed the exec magic number. This means that FreeBSD recognizes the > NetBSD Magic, load and starts the binary. The binary try to load the > ld.so dynamic linker *BUT*, before, it checks the ld.so magic number and > find it reversed !! (then it dies, spiting something about 'bad ld.so > magic'). [...] > It would be a good solution to create a /emul/NetBSD lookup (like IBSC2) > before the / lookup. (Okay, Okay, i now it's easier to say it than to do > it. Don't hit on my head !! not my head !! was only a sugestion..). afaik, it's what NetBSD does. In order to use NetBSD's emulation with dynamic binaries, you typically need the native ld.so and lib*.so library files installed in /emul/whatever. It's probably a good idea to have an /emul directory for every emulation. It provides all kinds of flexibility to work around platform-specific ideosyncracies. Keith
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802061645.LAA13854>