Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!uflorida!bikini!ty From: ty@reef.cis.ufl.edu (Tyng-Jing Yang) Newsgroups: comp.sys.next Subject: Re: where are libg++ sources? I tried, but.... Message-ID: Date: 13 Apr 91 05:03:52 GMT Sender: news@uflorida.cis.ufl.EDU Organization: UF CIS Department Lines: 71 In-reply-to: madler@nntp-server.caltech.edu's message of 10 Apr 91 20:50:32 GMT >You can get the source from prep.ai.mit.edu. Also see objc.702 in >NextAnswers for how to compile libg++ 1.37.0 on the NeXT. I did follow objc.702 to change variables in makefiles under src, test, and the main makefile. According to objc.702 we need to make following changes in main makefile, 1. enable XTRAFLAGS = -DNO_LIBGXX_MALLOC, also change sub makefiles in src,test dir. 2. Let PWD=/me/shar/g++lib (in my own case),since I'm not using GNU make. 3. Put the following lines in time.h in g++-include dir. #ifndef time_h #define time_h 1 #ifdef NeXT #define _TIME_H 1 #endif 4. Let GXX=cc++, VERBOSITY_FLAGS = -Wall In objc.702 it say "After doing each of these(above 4 steps) the GNUS libraries will compile on a NeXT machine". Well it doesn't work for me. I need to make more changes 5. CC= cc(not gcc) There are five passes in main makefile all: src tests install etc gperf The above five steps can make me compile src sucessfully. When come to "tests " pass it failed(see enclosure). I don't understand the error message, but my best guess is from LDXX=$(LIBDIR)/gcc-ld and CXXCRT=$(LIBDIR)/crt1+.o How should I change these two variables ? and Why it complain defs.hp can't find even I change PROTODIR to /usr/include (my g++ include dir) in all the genclass and genclass.sh files. ? Any pointers to my problems ? or Is there anyone like to submit their patch files or working libg++ to NeXT archive sites ? Thanks Jing ---------------------------------------------------------------- localhost# make all (cd src; make GXX="cc++" GXXFLAGS=" -I/me/shar/g++lib/g++-include -g -O -fstrength-reduce -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized -Wall -DNO_LIBGXX_MALLOC -pipe" GXXLDFLAGS="-L/me/shar/g++lib/src -lg++ -lm " LIBDIR="/usr/lib" SRCIDIR="/me/shar/g++lib/g++-include" CC="cc" CFLAGS=" -I/usr/lib/gcc-include -I/usr/include -I/me/shar/g++lib/g++-include -g -O -fstrength-reduce -fdelayed-branch -Wall -DNO_LIBGXX_MALLOC -pipe" RANLIB="ranlib" LDXX="/usr/lib/gcc-ld" GXXCRT1="/usr/lib/crt1+.o" MAKE="make" prefix="/usr" VPATH="/me/shar/g++lib/g++-include") (cd tests; make checktests GXX="cc++" GXXFLAGS=" -I/me/shar/g++lib/g++-include -g -O -fstrength-reduce -felide -constructors -fschedule-insns -fdelayed-branch -fsave-memoized -Wall -DNO_LIBGXX_MALLOC -pipe" GXXLDFLAGS="-L/me/shar/g++lib/src -lg++ -lm " LIBDIR="/usr/lib" SRCIDIR="/me/shar/g++lib/g++-include" CC="cc" CFLAGS=" -I/usr/lib/gcc-include -I/usr/include -I/me/shar/g++lib/g++-include -g -O -fstrength-reduce -fdelayed-branch -Wall -DNO_LIBGXX_MALLOC -pipe" RANLIB="ranlib" LDXX="/usr/lib/gcc-ld" GXXCRT1="/usr/lib/crt1+.o" MAKE="make" prefix="/usr") genclass int val defs i genclass: defs.hP: no such file *** Exit 1