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: "mikael at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2008 22:17:09 -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 #6 from mikael at gcc dot gnu dot org 2008-12-08 22:17 -------
(In reply to comment #4)
>
> 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
>
This is still wrong.
If you are using a separated build directory, your command shall look like:
../gcc-4.3.2/configure (your options here ...)
Does it work now ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37527