Re: Getting the name of the file to compile

2007-05-07 Thread albino aiello
Basile STARYNKEVITCH ha scritto: Maybe you just want the main_input_filename declared in gcc-trunk/gcc/input.h (near line 80)? Yes, exactly. Thank you so much.

Getting the name of the file to compile

2007-05-07 Thread albino aiello
Hi all, i'm writing a new option pass. For more reason, i have to know the name of the file .c to compile. For example: if the user writing in the shell the following command : - gcc filename.c i want to obtain the variable char* that contain the value filename. I have seen in the file gcc.c th