Re: relevant files for target backends

2007-01-16 Thread Markus Franke
Thank you very much. That was exactly the information I was looking for. I will think about a contribution to the GCC Internals. Thanks again, Markus Franke Rask Ingemann Lambertsen wrote: > On Tue, Jan 16, 2007 at 11:24:56AM +0100, Markus Franke wrote: > > >>I am wondering where to define the

Re: relevant files for target backends

2007-01-16 Thread Rask Ingemann Lambertsen
On Tue, Jan 16, 2007 at 11:24:56AM +0100, Markus Franke wrote: > I am wondering where to define the prototypes for functions in > .c Shall the prototypes be defined in -protos.h or in > .h or in .c. As far as I understand the prototypes > should be defined in -protos.h, right? But if I do so sever

Re: relevant files for target backends

2007-01-16 Thread Kaveh R. GHAZI
On Tue, 16 Jan 2007, Markus Franke wrote: > Thank you for your response. I understood everything you said but I am > still confused about the file -protos.h. Which prototypes have > to be defined there? Any external function you manully define in config/machine/machine.c probably should have a pr

Re: relevant files for target backends

2007-01-16 Thread pranav bhandarkar
On 1/16/07, Markus Franke <[EMAIL PROTECTED]> wrote: Thank you for your response. I understood everything you said but I am still confused about the file -protos.h. Which prototypes have to be defined there? Thanks in advance, Markus Franke IMO and from what I have gathered from the documentat

Re: relevant files for target backends

2007-01-16 Thread Markus Franke
Thank you for your response. I understood everything you said but I am still confused about the file -protos.h. Which prototypes have to be defined there? Thanks in advance, Markus Franke pranav bhandarkar wrote: >> I am wondering where to define the prototypes for functions in >> .c Shall the pr

Re: relevant files for target backends

2007-01-16 Thread pranav bhandarkar
I am wondering where to define the prototypes for functions in .c Shall the prototypes be defined in -protos.h or in .h or in .c. As far as I understand the prototypes should be defined in -protos.h, right? But if I do so several errors/warnings arise because of undeclared prototypes. Another que

relevant files for target backends

2007-01-16 Thread Markus Franke
Dear GCC Developers/Users, I am trying to port a backend from GCC version 2.7.2.3 to version 4.1.1. As far as I have seen, a lot of new relevant files were introduced to build a good structure for new backends. I am wondering where to define the prototypes for functions in .c Shall the prototypes