* g77 -v doesn't work anymore.
@ 2000-07-23 12:05 Toon Moene
2000-07-25 14:56 ` Zack Weinberg
0 siblings, 1 reply; 3+ messages in thread
From: Toon Moene @ 2000-07-23 12:05 UTC (permalink / raw)
To: Zack Weinberg, gcc
Zack,
g77 -v used to give useful information about the installed version and
the version(s) of the run-time libraries, like so:
$ g77 -v
g77 version 2.95.3 19991030 (prerelease) (from FSF-g77 version 0.5.25
19991030 (prerelease))
Driving: g77 -v -c -xf77-version /dev/null -xnone
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
gcc version 2.95.3 19991030 (prerelease)
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/cpp -lang-c -v
-D__GNUC__=2 -D__GNUC_MINOR__=95 -D__ELF__ -D__unix__ -D__i386__
-D__linux__ -D__unix -D__linux -Asystem(posix) -D_LANGUAGE_FORTRAN
-traditional -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__
-Di686 -Dpentiumpro -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__
/dev/null /dev/null
GNU CPP version 2.95.3 19991030 (prerelease) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../i686-pc-linux-gnu/include
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include
/usr/include
End of search list.
The following default directories have been omitted from the search
path:
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3
End of omitted list.
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/f771 -fnull-version
-quiet -dumpbase g77-version.f -version -fversion -o /tmp/cc3Hv3xn.s
/dev/null
GNU F77 version 2.95.3 19991030 (prerelease) (i686-pc-linux-gnu)
compiled by GNU C version 2.95.3 19991030 (prerelease).
GNU Fortran Front End version 0.5.25 19991030 (prerelease)
as -V -Qy -o /tmp/ccFYt7QW.o /tmp/cc3Hv3xn.s
GNU assembler version 2.9.1 (i486-linux), using BFD version 2.9.1.0.19
ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o /tmp/ccPSVapU
/tmp/ccFYt7QW.o /usr/lib/crt1.o /usr/lib/crti.o
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/crtbegin.o
-L/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3 -L/usr/local/lib -lg2c
-lm -lgcc -lc -lgcc
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/crtend.o /usr/lib/crtn.o
/tmp/ccPSVapU
__G77_LIBF77_VERSION__: 0.5.25 19991030 (prerelease)
@(#)LIBF77 VERSION 19990503
__G77_LIBI77_VERSION__: 0.5.25 19991030 (prerelease)
@(#) LIBI77 VERSION pjw,dmg-mods 19990503
__G77_LIBU77_VERSION__: 0.5.25 19991030 (prerelease)
@(#) LIBU77 VERSION 19980709
That doesn't work anymore:
$ /usr/snp/bin/g77 -v
g77 version 2.96 20000722 (experimental) (from FSF-g77 version 0.5.26
20000722 (experimental))
Driving: /usr/snp/bin/g77 -v -c -xf77-version /dev/null -xnone
Reading specs from /usr/snp/lib/gcc-lib/i686-pc-linux/2.96/specs
gcc version 2.96 20000722 (experimental)
/usr/snp/lib/gcc-lib/i686-pc-linux/2.96/tradcpp -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) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__
-D__tune_pentiumpro__ /dev/null /dev/null /dev/null
GNU traditional CPP version 2.96 20000722 (experimental)
/usr/snp/lib/gcc-lib/i686-pc-linux/2.96/tradcpp: Usage:
/usr/snp/lib/gcc-lib/i686-pc-linux/2.96/tradcpp [switches] input output
Somehow, tradcpp manages to get three /dev/null's out of the specs file
- even though only two are there (f/lang-specs.h).
Why is this ?
Thanks in advance,
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: g77 -v doesn't work anymore.
2000-07-23 12:05 g77 -v doesn't work anymore Toon Moene
@ 2000-07-25 14:56 ` Zack Weinberg
2000-07-26 5:37 ` Toon Moene
0 siblings, 1 reply; 3+ messages in thread
From: Zack Weinberg @ 2000-07-25 14:56 UTC (permalink / raw)
To: Toon Moene; +Cc: gcc
On Sun, Jul 23, 2000 at 06:01:28PM +0200, Toon Moene wrote:
...
> /usr/snp/lib/gcc-lib/i686-pc-linux/2.96/tradcpp -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) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__
> -D__tune_pentiumpro__ /dev/null /dev/null /dev/null
> GNU traditional CPP version 2.96 20000722 (experimental)
> /usr/snp/lib/gcc-lib/i686-pc-linux/2.96/tradcpp: Usage:
> /usr/snp/lib/gcc-lib/i686-pc-linux/2.96/tradcpp [switches] input output
>
> Somehow, tradcpp manages to get three /dev/null's out of the specs file
> - even though only two are there (f/lang-specs.h).
The third /dev/null comes from the %i in %(cpp_options).
I don't like this feature of g77, I think it's unnecessary
complexity. But if you must have it, just pull out one of the
/dev/nulls.
zw
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: g77 -v doesn't work anymore.
2000-07-25 14:56 ` Zack Weinberg
@ 2000-07-26 5:37 ` Toon Moene
0 siblings, 0 replies; 3+ messages in thread
From: Toon Moene @ 2000-07-26 5:37 UTC (permalink / raw)
To: Zack Weinberg; +Cc: gcc
Zack Weinberg wrote:
> On Sun, Jul 23, 2000 at 06:01:28PM +0200, I wrote:
> > Somehow, tradcpp manages to get three /dev/null's out of the specs file
> > - even though only two are there (f/lang-specs.h).
>
> The third /dev/null comes from the %i in %(cpp_options).
>
> I don't like this feature of g77, I think it's unnecessary
> complexity. But if you must have it, just pull out one of the
> /dev/nulls.
Thanks, I'll do that.
We've used this feature in the past to get people to check if they had
an installation problem (a common one was to pick up a libf2c built by
the f2c distribution - note that until recently, most Linux
distributions came with f2c and _not_ g77). It might be that this isn't
necessary anymore.
But as long as it doesn't break or inhibit anything else, I'd like to
keep it.
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-07-26 5:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-23 12:05 g77 -v doesn't work anymore Toon Moene
2000-07-25 14:56 ` Zack Weinberg
2000-07-26 5:37 ` Toon Moene
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).