This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to make make changes in gcc code


sandeep soni wrote:
Hi,

I posted this question on the mailing list  	 gcc-help@gcc.gnu.org
but did not get any reply about it.

I have bootstrapped gcc 4.4.2 on my machine and now i have to make
changes in gcc code.

Changing code is done usually with a good editor :-) but I suppose I am not answering your question.


Perhaps you are asking how to understand what part of GCC you might improve.

However, I dont know how to make those changes effective.

You did not explain at all what kind of changes you want to do, and why!


Nobody can help you if you don't explain your objectives.

If you want to contribute to GCC core, you should be aware of the [legal] prerequisites, see http://gcc.gnu.org/contribute.html - in particular the transfer of copyright to FSF migh take several weeks or months.

I am supposing you want to make GPLv3 free software changes to GCC. But I don't know why you want to do that. GCC is a very complex software (four million lines of source code),and nobody understand all of it.

A possibly simpler solution for you might be to develop a plugin for your changes. GCC 4.5 (the next release) will allow plugins. And the MELT plugin offer a higher-level language to code plugins.

Still, we cannot help you because we cannot guess your objectives.

Regards.



--
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]