This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g77 - latest version does not accept -ffixed-line-length-none
- From: bdavis <bdavis11 at directvinternet dot com>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Dec 2002 23:33:23 -0600
- Subject: g77 - latest version does not accept -ffixed-line-length-none
This works on g77 2.96:
g77 -ffixed-line-length-none -x f77-cpp-input -c xt.f
but on a cvs checkout of gcc, done today (12/21/2002), you get this:
/usr/local/gcc-3.2-exp/bin/g77 -ffixed-line-length-none -x f77-cpp-input
-c xt.f
cc1: warning: unknown register name: line-length-none
Either option by itself is fine, only the combination causes an error.
version evidence--
This version works...
g77 -v
g77 version 2.96 20000731 (Red Hat Linux 7.3 2.96-113) (from FSF-g77
version 0.5.26 20000731 (Red Hat Linux 7.3 2.96-113))
Driving: g77 -v -c -xf77-version /dev/null -xnone
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
/usr/lib/gcc-lib/i386-redhat-linux/2.96/tradcpp0 -lang-fortran -v
-D__GNUC__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__ELF__
-Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux
-Asystem(posix) -D__NO_INLINE__ -Acpu(i386) -Amachine(i386) -Di386
-D__i386 -D__i386__ -D__tune_i386__ /dev/null /dev/null
GNU traditional CPP version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
/usr/lib/gcc-lib/i386-redhat-linux/2.96/f771 -fnull-version -quiet
-dumpbase g77-version.f -version -fversion -o /tmp/ccyqgZ1x.s /dev/null
GNU F77 version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
(i386-redhat-linux) compiled by GNU C version 2.96 20000731 (Red Hat
Linux 7.3 2.96-113).
GNU Fortran Front End version 0.5.26 20000731 (Red Hat Linux 7.3
2.96-113)
as -V -Qy -o /tmp/ccMHb5F0.o /tmp/ccyqgZ1x.s
GNU assembler version 2.11.93.0.2 (i386-redhat-linux) using BFD version
2.11.93.0.2 20020207
ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o /tmp/cckpvxnv
/tmp/ccMHb5F0.o /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crti.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/crtbegin.o
-L/usr/lib/gcc-lib/i386-redhat-linux/2.96
-L/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../.. -lg2c -lm -lgcc -lc
-lgcc /usr/lib/gcc-lib/i386-redhat-linux/2.96/crtend.o
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crtn.o
/tmp/cckpvxnv
__G77_LIBF77_VERSION__: 0.5.26 20000731 (prerelease)
@(#)LIBF77 VERSION 19991115
__G77_LIBI77_VERSION__: 0.5.26 20000731 (prerelease)
@(#) LIBI77 VERSION pjw,dmg-mods 19991115
__G77_LIBU77_VERSION__: 0.5.26 20000731 (prerelease)
@(#) LIBU77 VERSION 19980709
This one does not:
/usr/local/gcc-3.2-exp/bin/g77 -v
Reading specs from
/usr/local/gcc-3.2-exp/lib/gcc-lib/i686-pc-linux-gnu/3.4/specs
Configured with:
Thread model: posix
gcc version 3.4 20021221 (experimental)
xt.f does not matter, but here it is:
subroutine x
integer i
i =1
print*,i
end
--b davis