This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/37527] conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]