add sourcefiles to gcc
Hi, if I want to add some source to the gcc, what do I have to do? I think the source files have to be in the gcc-subdirectory. Then I have to change the Makefile.in in the same directory ( I didn't found any hint that this file is generated by autogen or automake - so I think it has to be changed manually). Do I forget something? Best regards, NM
Re: add sourcefiles to gcc
On Jun 22, 2005, at 7:52 PM, Rafael EspĂndola wrote: It depends where do you want to link the file. If is going into a front end for a language other the c then it must go in gcc/ It should be part of the middle end. A kind of dump-option. Nico
Some basic/beginner questions
Hi, I want to get a dump of the whole data structure of my sourcecode after (all) target independent optimization. I think the best point to do this is after 'pass_del_ssa'. But I'm not sure. At this point the internal representation of the data structure is 'generic' - is this right? I think one dump switch ('fdump-tree-optimized') is very close that what I want. Which of the options is the best way to have a look at the data structure? I don't want have a look at debug-informations etc. I only want to see control flow, data flow, types and such things. Another problem is to find in the gcc-sourcecode where this dump happens. A hint from this list was to have a look at the tree- dump.c . But I think the dumps which are implemented there, based on the 'tree-dump-index' in 'tree.h'. And there I can only found a few of the possible dump-flags. And no one of them is 'optimized'. To much questions - I know. Perhaps somebody recommend me some further readings. Ciao and thanks, Nico
problems with -fdump-tree options (gcc 4.0.0)
Hi, I tried the following: gcc -fdump-tree-all-all -c -o bla.o bla.c and I got these: bla.c.t02.original bla.c.t03.generic bla.c.t06.vcg bla.c.t08.gimple bla.c.t09.useless bla.c.t11.lower bla.c.t12.eh bla.c.t13.cfg bla.c.t14.oplower I have two questions: Where is the bla.c.t**.optimized file? What is the bla.c.t03.generic file? The same as the bla.c.t02.original? I can't found it in the onlinedocumentation. Thanks a lot. Nico