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

Re: Writing a option pass

2007-03-31 Thread albino aiello
umber" I don't know the just way. Can you give some suggestion?? Thanks. Mike Stump ha scritto: On Mar 30, 2007, at 11:24 AM, albino aiello wrote: i must add a new pass to gcc. I want to receive from command line an integer value at compilation time. I have modify the file common

Writing a option pass

2007-03-30 Thread albino aiello
Hi all, i must add a new pass to gcc. I want to receive from command line an integer value at compilation time. I have modify the file common.opt but tha value of the variable is alwais 0. I have add the following row: my-variable= Common Var (my_variable)init(-1). Comments I want to obtain

Re: Control Flow Graph

2006-11-15 Thread albino aiello
Thanks, but i want to use the .cfg file to construct directly a tree_cfg in C language using the TREE SSA libraries of gcc. The doc-page is the follow http://people.redhat.com/dnovillo/pub/tree-ssa/doc/html/files.html. I'm not understand how to use this libraries to contstruct a tree-cfg to m