This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Testsuite question


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 (*).




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]