This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
error when compiling gcc
- From: çæ <jiming at yafco dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 30 Jul 2015 17:16:44 +0800
- Subject: error when compiling gcc
- Authentication-results: sourceware.org; auth=none
Hi,
I downloaded gcc-4.9.3, and wanted to compile it on my Centos 6.5
box. I first intalled the prerequisites, isl-0.14, mpc-0.8.1, gmp-4.3.2,
mpfr-2.4.2, and cloog-0.18.3, then I ran configure and specified the
directory of the above packages. When I ran make, I got the following
errors:
../../../libitm/config/linux/rwlock.cc: In member function âbool
GTM::gtm_rwlock::write_lock_generic(GTM::gtm_thread*)â:
../../../libitm/config/linux/rwlock.cc:160:16: error: âtypeofâ was not
declared in this scope
!= ~(typeof it->shared_state)0)
^
../../../libitm/config/linux/rwlock.cc:160:23: error: expected â)â
before âitâ
!= ~(typeof it->shared_state)0)
^
../../../libitm/config/linux/rwlock.cc:176:5: error: expected â)â before
â}â token
}
^
Anyone can help me out on this?
Thanks,
Jim