Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!think!ames!amdahl!nsc!voder!apple!rpd From: rpd@apple.UUCP (Rick Daley) Newsgroups: comp.sys.mac Subject: Re: Mac applications under A/UX Message-ID: <6841@apple.UUCP> Date: Thu, 26-Nov-87 02:57:31 EST Article-I.D.: apple.6841 Posted: Thu Nov 26 02:57:31 1987 Date-Received: Sun, 29-Nov-87 16:16:05 EST References: <7424@eddie.MIT.EDU> Organization: Apple Computer, Inc., Cupertino, USA Lines: 23 Keywords: Mac, A/UX, user mode Summary: UNIX binaries can use signal(2) to catch exceptions In article <7424@eddie.MIT.EDU>, gz@eddie.MIT.EDU (Gail Zacharias) writes: > Can applications running under the A/UX Mac emulation handle CHK and > TRAPV/TRAPcc exceptions? In the first release of the A/UX Toolbox, there is no special provision for handling exceptions. However, there are two ways to run mac applications from A/UX. One way is to use the "launch" program to run a mac binary. The other way is to recompile the application under A/UX and execute it as a UNIX binary. In the latter case, you can use the normal UNIX mechanisms for dealing with exceptions. However, to use this method, the application really has to be written in C. Altering the exception vectors in low memory will have no effect under the A/UX Toolbox. If we find that it is common for developers to want to do this, we could add support for exception vectors to the second release of the A/UX Toolbox. Rick Daley rpd@apple.UUCP By the way, I should add my usual warning that you shouldn't expect off-the-shelf mac applications to run under A/UX. It is usually a fairly simple job for a developer to make an application A/UX-friendly, but most existing applications will faihad