This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37527] conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
- From: "reuben dot kraft at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Sep 2008 12:00:47 -0000
- Subject: [Bug fortran/37527] conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
- References: <bug-37527-16718@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from reuben dot kraft at gmail dot com 2008-09-16 12:00 -------
(In reply to comment #3)
> Oh building in the source directory is not really supported.
> Can you try building in a different object directory?
>
Using a different object directory I was able to compile c and c++, but not
fortran. I configured with:
./configure
--prefix=/home/rkraft/apps/gcc4
--with-mpfr=/home/rkraft/apps/mpfr-2.3.2
--disable-multilib
--enable-languages=c,c++,fortran
--with-gmp=/home/rkraft/apps/gmp-4.2.3
--with-gmp-lib=/home/rkraft/apps/gmp-4.2.3/lib
--with-mpfr-lib=/home/rkraft/apps/mpfr-2.3.2/lib
in the config.log file from I searched for "error" and found these:
--conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'me'
--conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
--conftest.c:70:27: error: floatingpoint.h: No such file or directory
--conftest.c:70:20: error: ieeefp.h: No such file or directory
--conftest.c:71:20: error: fptrap.h: No such file or directory
I don't thing gfortran in getting compiled, but it is hard to determine because
all errors are output on the terminal. Where can I find error messages?
Thanks for your time.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37527