Hi all, I have a problem when installing old gcc version. I use
ns-allinone-2.27 with NRLSensorSim extension (2.27 is the most recent
version for this extension) in Fedora Core 6 with gcc 4.1. I have a patch
for this version of ns to work with gcc 4.1 but for the extensions added
doesn't work.
 So I want to install an alternate gcc compiler on my fedora (gcc 2.95) like
a solution. This two packages:

gcc-core-2.95.tar.gz
gcc-g++-2.95.tar.gz

i do gcc configure:

/home/mpereyra/gcc/gcc-2.95/configure \
--prefix=/opt/gcc295 \
--program-suffix=295 \
--enable-languages=c,c++ \
--enable-shared --enable-threads=posix --disable-cheking \
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions

and when i do 'make' this is the error:

/home/mpereyra/gcc/gcc-2.95/gcc/frame.c:55: extra brace group at end of
initializer
/home/mpereyra/gcc/gcc-2.95/gcc/frame.c:55: (near initialization for
`object_mutex.__data')
/home/mpereyra/gcc/gcc-2.95/gcc/frame.c:55: warning: excess elements in
struct initializer
/home/mpereyra/gcc/gcc-2.95/gcc/frame.c:55: warning: (near initialization
for `object_mutex.__data')
make[1]: *** [libgcc2.a ] Error 1
make[1]: se sale del directorio `/home/mpereyra/gcc/build/gcc'
make: *** [all-gcc] Error 2

("se sale del directorio" means 'leaving directory')

Another relevant information:

[EMAIL PROTECTED] build]# uname -a
Linux localhost.localdomain 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT
2006 i686 i686 i386 GNU/Linux
[EMAIL PROTECTED] build]# rpm -q gcc
gcc-4.1.1-30

I Think that some paremeters of gcc configure are not ok. What do you think?

Reply via email to