This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Testsuite question
- To: mrs at wrs dot com (Mike Stump)
- Subject: Re: Testsuite question
- From: Joe Buck <jbuck at synopsys dot com>
- Date: Wed, 14 Oct 98 9:04:24 PDT
- Cc: Marc dot Espie at liafa dot jussieu dot fr, egcs at cygnus dot com
Mike Stump posted some good ideas on how to do tests that do linking.
If we do this, we need to make sure that test reports identify the linker
in use (native ld vs GNU ld, and which version). Perhaps Alexandre's
reporting script could be modified to provide this information. While
we're at it, reporting the assembler as well would be nice.
gcc -print-prog-name=as
will print the full path to the assembler in use;
gcc -print-prog-name=ld
will do the same for the linker. If it happens to be a GNU utility,
-v will print the version, but this will probably be an error for a native
utility on a non-GNU system (*).