This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36309] gfortran and cc1 error
- From: "kih at mail dot nerc-essc dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 May 2008 20:45:23 -0000
- Subject: [Bug fortran/36309] gfortran and cc1 error
- References: <bug-36309-16223@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from kih at mail dot nerc-essc dot ac dot uk 2008-05-23 20:45 -------
Subject: RE: gfrotran and cc1 error
Hi
Thanks for the response. I was actually installing software on someone
else's system (with their permission) which was an apple machine. I will
check the version of gcc and the rest of the installation.
Cheers
Kevin
-----Original Message-----
From: burnus at gcc dot gnu dot org [mailto:gcc-bugzilla@gcc.gnu.org]
Sent: 23 May 2008 18:49
To: kih@mail.nerc-essc.ac.uk
Subject: [Bug fortran/36309] gfrotran and cc1 error
------- Comment #2 from burnus at gcc dot gnu dot org 2008-05-23 17:49
-------
Could you provide some more details, especially about your gfortran version.
The problem is that using:
$ gfortran-4.1 -fno-underscoring aa.F
$ gfortran-4.2 -fno-underscoring aa.F
$ gfortran-4.3 -fno-underscoring aa.F
$ gfortran -fno-underscoring aa.F # 4.4.0 of today
all work. Where did you obtain gfortran and GCC? Which system are you on?
If I call gcc (4.1 to 4.4) with -fno-underscoring then I get the warning:
cc1: warning: command line option "-fno-underscoring" is valid for Fortran
but
not for C
Therefore, I wonder whether you are either using an ancient version of
gfortran
or that for some reason your new gfortran calls an older version of gcc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36309