Testsuite question
Joe Buck
jbuck@synopsys.com
Wed Oct 14 14:44:00 GMT 1998
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 (*).
More information about the Gcc
mailing list