Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!s3!ireq.hydro.qc.ca!lamarche From: lamarche@ireq.hydro.qc.ca Newsgroups: comp.unix.aux Subject: Re: Problem compiling InterViews with g++ 1.37.2 beta. Message-ID: <4439@s3.ireq.hydro.qc.ca> Date: 18 Dec 90 16:03:58 GMT References: <4335@s3.ireq.hydro.qc.ca> <1990Dec14.052617.1581@julius.cs.uiuc.edu> Sender: root@s3.ireq.hydro.qc.ca Reply-To: lamarche@ireq.hydro.qc.ca () Lines: 60 In article <1990Dec14.052617.1581@julius.cs.uiuc.edu>, coolidge@cs.uiuc.edu (John Coolidge) writes: |> lamarche@ireq.hydro.qc.ca writes: |> >I finaly got g++ 1.37.2 beta from wuarchive.wustl.edu and I tried to compile |> >InterViews (X11R4 original distribution ). The make -k command hangs in |> >$(TOP)/InterViews/src/libInterViews/macII with the following message. |> |> |> >compiling ../filebrowser.c |> > rm -f filebrowser.o |> > g++ -D_BSD_SOURCE -c -I.. -I../Generated -I../../.././src/InterViews/ |> >Std -I../../.././src ../filebrowser.c |> >Failed assertion `i != LAST_CPLUS_TREE_CODE' at line 575 of `cplus-lex.c'. |> >g++: Program cc1plus got fatal signal 6. |> >Make: Update of filebrowser.o terminated with exit code 1 |> >Make: Target filebrowser.o is on line 345 in /usr/local/src/macII-X/contrib/tool |> >kits/InterViews/src/libInterViews/macII/Makefile |> >Make: Stopped in directory /usr/local/src/macII-X/contrib/toolkits/InterViews/sr |> >c/libInterViews/macII. |> >Does anybody has an idea of what is wrong with this? |> |> This is extremely odd, since I compiled InterViews with g++ and |> everything worked fine. I've seen this problem before when using |> Apple's as; I must apologize here for my error. The problem is that I was trying to keep the old version of g++ (mars 1990) with the new one. I had an old version of cc1plus in /usr/local/bin and the new version in /usr/local/bin/lib. g++ found the old one :-(. So my final solution is o g++ in /usr/local/bin/g++ o cc1plus in /usr/local/bin/lib/cc1plus o collect in /usr/local/bin/lib/collect o gnulib in /usr/local/bin/lib/gnulib o libg++.a in /usr/local/bin/lib/libg++.a o Remove all other version of these files from /usr/local/bin I finally fixed up everything and, after applying the available patches from interviews.stanford.edu to the X11R4 original distribution, I was able to compile the library (libInterViewsX11.a). My only problem for the moment is that "gas" must be in /bin/as so that g++ can find it. Apple cc becomes difficult to use then. |> |> Happy holidays! |> |> --John I would like to congratulate John Coolidge for all this great work on gcc and g++ for the Mac. Happy holidays for you too John ! -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | Louis Lamarche, IREQ | lamarche@IREQ.Hydro.Qc.CA | CP 1000, Varennes | or | QC, Canada, J3X 1S1 | 514-652-8077 (office) 514-324-2919 (home)