I had a version of egcs-971225 up and running under OpenStep/4.2 Mach (i386-next-nextstep4), but through some random change I seem to have broken my local copy. The changes required to get a naive port (about all I'm able to do considering how much I know about gcc/egcs) were pretty minimal. Included below is a message I sent to another person that asked (on one of the OpenStep/Rhapsody lists if I remember correctly). I haven't had time to get back to working on this yet, but feel free to take up the torch :) The changes necessary to get this working on Rhapsody might be more substantial since Rhapsody has a standard BSD4.4 include structure instead of the non-standard tree that NeXT previously had. You *might* be able to do a really quick and dirty port by just using {i386,ppc}-next-nextstep4 as your configuration (heck, configure might even figure it out). The biggest piece of work left to do is to make gcc do the correct PIC stuff for the latest linker (pretty much the same on OpenStep/4.2 and Rhapsody DR1 Intel -- I haven't looked at what they do on PPC). The current approach (static references) would make the linker complain about relocation entries in non-writable sections (meaning that you'll make pages writable at dylinker time and end up using more VM). I doesn't complain since I set up the specs file to call the linker with args to make it shut up about these warnings ... hopefully a temporary state of affairs. There may be some large number of errors in the regression tests. I was able to get dejagnu up and limping along, but I'm not convinced that I ever got any valid results out of it, mostly since I don't really know how to use it correctly. :) Basic hand-written tests of C and ObjC work(ed). In particular, I could subclass NSObject (which is in a different framework) and stuff didn't crash. I didn't test C++ or Fortran at all. I don't recall the C++ libraries failing to build, so that might be a very minimal test. -tim X-Nextstep-Mailer: Mail 4.2mach (Enhance 2.0b5) From: Timothy J. Wood Date: Mon, 12 Jan 98 10:35:55 -0800 To: gvandyk@icon.co.za Subject: Re: egcs, gcc, OPENSTEP, and Apple Reply-To: Timothy J. Wood X-Url: ` http://www.omnigroup.com/People/bungi Strangely, I can't seem to get it to work again, but I don't see how I could have messed it up. A bunch of weird stuff is getting inserted into the middle of gcc/Makefile. The stage1 still seems to build, but partway through stage2, I get a gnumake error. Perhaps this is some local configuration detail that has changed and this won't effect you. I can't guarantee that these patches will work though :) There are three files that have changed. Here are the diffs: egcs-971225-nextstep-diffs Here is the log of changes I made while building stuff up. If you get to the part where you are ready to run the regression tests, let me know if you what the changes I made to the egcs snapshot of dejagnu (they are pretty minor and described in my log file). egcs-i386-next-nextstep4-notes -tim