-fbacktrace
Philippe Schaffnit
P.Schaffnit@access.rwth-aachen.de
Tue May 15 11:31:00 GMT 2007
Hi!
Thanks a lot for your reply!
I was wondering about this cc1 too, but I thought it somehow came from
the error handling:
The (lengthy) command:
gfortran -m32 -O1 -g -fbacktrace -pedantic-errors -Wall -x f95-cpp-input
-std=gnu -ffpe-trap=invalid,zero,overflow,denormal -fbounds-check
-Wextra -Wunused -Wunderflow -Wsurprising -Wline-truncation -Waliasing
-DEIN=1 -DAUS=0 -DSGI=1 -DINTEL=2 -DLAHEY=3 -DSUN=4 -DGCC=5
-DKOMPILATOR=5 -DTC_KOPPLUNG=1 -DFLEXLM=0 -DZLIB=1 -DIRIX=1 -DWINDOWS=2
-DLINUX=3 -DSOLARIS=4 -DBETRIEBSSYSTEM=3 -DNO_METACHARACTER=0
-DDEFAULT_DOUBLE_PRECISION=0 -DDAY=15 -DMONTH=05 -DYEAR=2007
-DCHECKMODUS=1 -c
/USER/Alpha/Sim/SimF/philippe/MICRESS/MICRESS_KornStrebe/MICRESS/main/main.f90
The error message
cc1: error: unrecognized command line option "-fbacktrace"
gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /USER/philippe/Irix/Gcc_Experiment/configure
--prefix=/usr1/MICRESS/Philippe/Tools/Gcc_Experiment
--enable-languages=c,fortran --disable-maintainer-mode --disable-shared
--with-mpfr=/usr1/MICRESS/Philippe/Tools/Mpfr
--with-gmp=/usr1/MICRESS/Philippe/Tools/Gmp --with-htmldir
Thread model: posix
gcc version 4.3.0 20070314 (experimental)
What really surprises me, is that it was still working with Friday's
sources, and I don't think I have changed anything to my makefile
since...
Cheers!
Philippe
Tobias Burnus wrote:
>
> Hi,
>
> Philippe Schaffnit wrote:
> > My freshly compiled gfortran (under Linux) seems not accept any more
> > "-fbacktrace":
> >
> > cc1: error: unrecognized command line option "-fbacktrace"
> >
> Why is this cc1? This should be somethink like:
> f951: error: unrecognized command line option "-fabcdefg"
> or more precisely, it should not.
>
> Note, if you run:
> gfortran foo.c
> you invoke the C compiler and not the Fortran compiler. Thus there might
> be some file-extension problems? Or you pass the option to the C
> compiler and to the Fortran compiler?
>
> > gfortran --version
> > GNU Fortran (GCC) 4.3.0 20070314 (experimental)
> >
> Works here with 4.3.0 20070515 on x86_64-unknown-linux-gnu.
>
> Tobias
More information about the Fortran
mailing list