Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!ksand From: ksand@Apple.COM (Kent Sandvik, 120dB or more) Newsgroups: comp.unix.aux Subject: Re: Using A/UX to build MacOS applications Message-ID: <13984@goofy.Apple.COM> Date: 10 Jun 91 02:52:58 GMT References: <1991Jun8.052220.6157@am.dsir.govt.nz> <867@taniwha.UUCP> Distribution: comp Organization: Apple Computer Inc., Cupertino, CA Lines: 28 In article <867@taniwha.UUCP> paul@taniwha.UUCP (Paul Campbell) writes: >In article , >gerson@parc.xerox.com (Dan Gerson) writes: >|> I'd like to be able to use A/UX as a programming environment for >building standard > >|> 1) Is there a way to translate COFF into CODE resources? If there isn't, is >|> there any real reason why I couldn't write such a beast? > >No not really, this is because most Unix compilers/linkers (including >the A/UX ones) don't make position independant code (PIC), this is mostly >because PIC code often runs slower (and data is a real pain). CODE resources >need PIC code and a compiler that understands how to build an 'a5 world' >I recomend you use MPW or some such Paul, yes that's right, I totally forgot the issue with position dependent code. As a good example, check the binaries in the sash bin folder, those are genuine A/UX apps moved over to the MacOS environment, and they want to get loaded somewhere around 639k, so that's the reason some systems that have increased their system heap zone have problems with A/Ux Startup. reg, Kent PS: Anyone for Usenix/Nashville? -- Kent Sandvik, DTS Rock Lobster Disclaimer: I am not working with Public Relations.