This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.2 & leda 3.8 ?
- From: LLeweLLyn Reese <llewelly at lifesupport dot shutdown dot com>
- To: Hanna <hanna_kur at yahoo dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 26 Jan 2003 23:54:59 -0800
- Subject: Re: gcc 3.2 & leda 3.8 ?
- References: <20030127042532.20744.qmail@web20301.mail.yahoo.com>
Hanna <hanna_kur@yahoo.com> writes:
> Hi,
>
> I've been trying to install Leda 3.8 in with gcc 3.2
> (on RedHat 8.0), but
> everytime I tried to build the libraries, it always
> give me this
> warning & error :
>
> --- Start ---
> make[1]: Entering directory `/prg/leda3.8/src'
> cd basic; make
> make[2]: Entering directory `/prg/leda3.8/src/basic'
> g++ -O -DLEDA_INSTALL -I../../incl -c _array.c
> In file included from
> /usr/include/c++/3.2/backward/iostream.h:31,
> from
> ../../incl/LEDA/std/iostream.h:8,
> from ../../incl/LEDA/basic.h:58,
> from
> ../../incl/LEDA/impl/gen_array.h:25,
> from _array.c:28:
> /usr/include/c++/3.2/backward/backward_warning.h:32:2:
> warning:
[snip]
The problem is that leda uses non-standard header files. It is a
problem the developers of leda should fix. Either become one, or
report a bug to them.
> Can anyone please tell me what's wrong and how to fix
> this problem ?
>
> Or do I need to install a lower version of gcc ? If I
> have to install a lower version of gcc, how do I
> install it such that I can still use my gcc 3.2 ? I've
> tried to install gcc 2.95 before, but it overrides gcc
> 3.2.
[snip]
Whenever you install a version of gcc, whether it is new or old,
*always* ensure that it has a unique prefix. For example,
configure 2.95.3 with:
configure --prefix=/usr/local/gcc-2.95.3 <other configure arguments>
and 3.2.1 with:
configure --prefix=/usr/local/gcc-3.2.1 <other configure arguments>