Re: source code modifications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-- Michael Eager <eager@xxxxxxxxxxxx> wrote:

> ranjith kumar wrote:
> > Hi
> > 
> > 1) I want to do some modifications in source code.
> 
> I'm assuming that you mean source code modifications
> to gcc.
> 
> >    After that modifictions, must I install gcc
> again
> >  to use modified gcc? Isn't there any short
> method?
> 
> While testing, you can execute xgcc in the build
> directory
> to check if your changes work as expected.
> 
What do you mean?
I have 'gcc-4.1.2' and 'obj'.
gcc-4.1.2 contains gcc-4.1.2 sourc code.
obj is object directory.

After installation xgcc file was found in 
/obj/gcc/xgcc
./obj/gcc/stage2/xgcc
./obj/gcc/stage1/xgcc

Now (after installation is over) if do a modification
in one of a file in gcc-4.1.2, what should I do get
the  compiler reflecting that modification?

Dont I have to install again?
Can I use that xgcc as the compiler reflecting that
modification?

Please send me a link which explains more.
Thanks in advance


> > 2) Can I use printf function in (internal)source
> files
> > of gcc?
> 
> Yes.
> 
> -- 
> Michael Eager	 eager@xxxxxxxxxxxx
> 1960 Park Blvd., Palo Alto, CA 94306  650-325-8077
> 






		
___________________________________________________________ 
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux