Re: Installing gcc after modifying source

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

 



ranjith kumar writes:
 > Hi,
 >     I made one change in gcc-4.1.2 source code.
 >   I added prfintf(" TOPLEVEL\n"); statement in
 > toplev_main() function in toplevel.c file. Of course I
 > added #include<stdio.h> in that file.
 > 
 > 1)I tried to execute "make bootstrap" command after
 > configuration. I got the error shown below. 
 > What could be the reason?

It's hard to be sure.

 > 2)I think general installation commands can be used to
 > install modified gcc source. Am I right?

Of course.  The thing you now need to do is follow the instructions: 

 > configure: error: run `make distclean' and/or `rm
 > ./config.cache' and start over

I suggest the latter.  Remove every file called config.cache in your
build tree.

Andrew.

[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