This is the mail archive of the
mailing list for the GCC project.
- From: Wei Qin <wqin at EE dot Princeton dot EDU>
- To: gcc-help at gnu dot org
- Date: Mon, 25 Mar 2002 10:04:21 -0500 (EST)
- Subject: preprocessor name
I am writing a shell script to obtain information of gcc's
preprocessor. I can obtain the path by getting the dirname of
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.