This is the mail archive of the gcc-help@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]
Other format: [Raw text]

preprocessor name



Hi,
	I am writing a shell script to obtain information of gcc's
preprocessor. I can obtain the path by getting the dirname of
	gcc -print-libgcc-file-name
	But I have trouble figuring out the cpp name. For gcc2.95, it is
cpp, for 3.0, it is cpp0. I am not sure if it is going to change in the
future. Is there a simple way to get the command name without assuming
the 2 possibilities?

thanks in advance.

Wei


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