[comp.os.mach] porting g++ to NeXT

sfrank@orion.oac.uci.edu (Steven Frank) (01/15/90)

I have been trying to install GNU 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