Message-ID: From: "Andris Pavenis" To: "Laurynas Biveinis" Date: Wed, 7 Apr 1999 19:44:17 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Suggestion about EGCS documentation (readme.DJGPP) CC: djgpp-workers AT delorie DOT com In-reply-to: <000501be810f$1c4614c0$a7003bd4@default> X-mailer: Pegasus Mail for Win32 (v3.02b14) Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 7 Apr 99, at 17:54, Laurynas Biveinis wrote: > Hello, Andris! > I dowloaded EGCS source from simtel, built and installed it. > However, it wasn't easy - I succeeded maybe just when > I tried to do it fourth or fifth time. The reason was - I read > readme.DJGPP file and followed instructions. This file has > chapter "Before you install egcs-1.1.2" and there is said to > avoid having some files in existing DJGPP installation. Because > there were separate chapters "How to install the binary archives?" > and "Rebuilding gcc from the sources", I thought that the info > in "Before you install egcs-1.1.2" applies for *both* cases and > happily removed some files, which were needed for building EGCS. > So my suggestion is - maybe you should clearly say, what is > applicable for binary and what for source installation ? Seems You tried to build egcs-1.1.2 with gcc-2.7.2.1. There should be no serious similar problems with gcc-2.8.1. I agree that readme file is not ideal but I think it's most significant to help novices to avoid installation problems (unfortunatelly many of them don't read such files). Poeple who are going to build gcc (egcs) themselves should have more knowledge to avoid totally screwing DJGPP installation. > (BTW, is there any way to use gcc 2.8.1 and egcs together?) Keep directory $DJDIR/lig/gcc-lib/djgpp/2.81 and it's contents when installing egcs. Then You'll be able to run gcc-2.8.1 with gcc -V 2.81 .... But note that C++ libraries are not compatible between gcc-2.81 and egcs-1.1.2. So to use C++ You may need to move corresponding versions of libstdcxx.a and libgpp.a to both versions gcc version specific directories. Andris