g2k@mentor.cc.purdue.edu (Frederic Giacometti) (12/16/89)
Has anybody ported g++ on NeXT ? I tried to install it, I managed to install the compiler, but due to the underlying MACH OS, the link editor ld++ cannot be installed (MACH does not use a.out structures). Has anybody attacked the problem ? I think the safest would be, if possible, to make that NeXT's loader can be used (some system symbols have to be ported). Would somebody have an opinion on this matter ? Thanks, Frederic Giacometti
sfrank@orion.oac.uci.edu (Steven Frank) (01/14/90)
I have been trying to install g++ on the NeXT.  GCC 1.36 installed
fairly easily (after editing config/tm-next.h "${Z}" to "%{Z}", thanks
to Frederick Korz).
The problem I had concerns the fact that g++ builds and uses its own
linker (ld.c).  This file #includes a.out.h, which doesn't exist under
MACH.  Substituting the files that describe the MACH exectable format
(type "man a.out" on a NeXT) doesn't work, at least without setting some
switches that I couldn't figure out.
Any suggestions?
   steve frank