Xref: utzoo comp.lang.objective-c:47 comp.sys.next:8729 Path: utzoo!utgpu!watserv1!watmath!att!rutgers!cmcl2!lanl!jpm From: jpm@lanl.gov (James P Mcgee) Newsgroups: comp.lang.objective-c,comp.sys.next Subject: Porting Objective-C code to Macintosh Keywords: port, macintosh, objective-c Message-ID: <65994@lanl.gov> Date: 18 Oct 90 01:36:24 GMT Organization: Los Alamos Natl Lab, Los Alamos, N.M. Lines: 31 I've got some Objective-C code that I'd like to port to my Macintosh. It doesn't do any graphics or other hard to port stuff, just a lot of message passing. The first thing I thought of was to buy Stepstones Objective-C compiler (which actually seems to be a translator that turns out ANSI C), translate to C on my NeXT, move the code to the Mac and compile it on Think-C. However, there are two stumbling blocks in this scheme: (1) Stepstone doesn't sell a compiler for the NeXT, and (2) the run-time system isn't available for the Mac. I thought I was on to something when the person at Stepstone mentioned that I could buy the source of the run-time library and port it to the Mac myself. But then she mentioned the price tag ($25K!!!). Apparently, another company in the same situation decided not to buy the source and rewrite it from the specs. Reportedly, they got about 1/3 of the way through it and gave up. So, it looks like Stepstone doesn't have any viable solutions, at least for my budget. Does anyone have any other suggestions? Can the compiler on the NeXT be persuaded to output ANSI C source code? Even if it can, what run-time support is needed? Does the gcc compiler understand objective-c yet? Has it been ported to the Mac? Thanks for any suggestions. Pat McGee, jpm@lanl.gov