Mail Archives: djgpp-workers/1999/04/07/12:44:53.1
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
- Raw text -