This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Multiple `-print-file-name=' options
- To: gcc at gcc dot gnu dot org
- Subject: Multiple `-print-file-name=' options
- From: Peter Gerwinski <peter at gerwinski dot de>
- Date: Thu, 20 Jan 2000 18:09:50 +0100
Hello,
We have a program which is called very often and needs to know
about where `gcc' gets its files (libgcc.a, cc1, ...) from.
Currently, we are calling `gcc -print-file-name=foo' for each
file.
To reduce overhead, it would be good if we could combine more
than one `-print-file-name=foo' option in one call to gcc:
> gcc -print-file-name=cc1 -print-file-name=libc.a
/usr/local/lib/gcc-lib/i586-pc-linux-gnu/2.95.1/cc1
/usr/lib/libc.a
Is it okay if I implement this into `gcc'? (Or is somebody else
interested to do it?;-)
Peter
--
http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de
Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-19990118
GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422
keys: ftp://ftp.gerwinski.de/pub/keys/ - AntiSpam: http://spam.abuse.net