Path: utzoo!attcan!uunet!mcsun!cernvax!chx400!unizh!gamma From: gamma@ifi.unizh.ch (erich gamma) Newsgroups: comp.lang.c++ Subject: Re: ET++, strange files in distribution Keywords: ET++ Message-ID: <1990Nov12.151056.8172@ifi.unizh.ch> Date: 12 Nov 90 15:10:56 GMT References: <1990Nov8.181319.14703@eua.ericsson.se> Distribution: comp Organization: University of Zurich, Department of Computer Science Lines: 55 Mr. Nyquist writes: >> The current version of ET++ that has been distributed >> seems not to work. Without any success at all I have tried to build >> it. >> I would be grateful if Erich Gamma or Andre Weinand why it is so difficult >> to build ET++ this time. Flame on May I suggest to Mr. Nyquist, that instead of wasting net bandwidth by posting flames to contact us directly by mail... may be we have solution to his problem! Flame off From people which are willing to communicate with us we got some feedback concerning installation problems. Problem 1: Linking an ET++ application under SUNOS4.1 results in: ld: calrelco symb lookup botch *** Error code 4 make: Fatal error: Command failed for target `micky' This is due to a bug of ld in SUNOS4.1. The workaround is to change the definition of ETO in ET_DIR/src/makefile from: ETO= $(PE_OFILES) ofiles3.o Init.o $(WS_OFILES) $(PR_OFILES) \ ofiles2.o ofiles1.o to: ETO= $(PE_OFILES) $(OFILES3) Init.o $(WS_OFILES) $(PR_OFILES) \ $(OFILES2) $(OFILES1) Problem 2: Applications crash when compiled with the original AT&T C++2.0 compiler on SPARCstations. This problem has to do with the handling of variable argument lists on the SPARC. Change the sed command in ET_DIR/bin/cpp from: sed -e "s/#line/#/g" -e "s/_au0___builtin_va_alist/__builtin_va_alist/g" $file to: sed -e "s/#line/#/g" -e "s/__0__builtin_va_alist/__builtin_va_alist/g" $file Mr. Nyquist continues: >> I also found some rather strange files in the distribution... ^ The ONLY strange file he found is indeed strange, but this file does not cause any problems for the installation (there is of course a funny story behind this file...). A new version of ET++(2.1) and patches to upgrade from 2.0 are available by anonymous ftp from iam.unibe.ch [130.92.64.10] in "C++/ET++" or "pub" --erich gamma