prakash wrote:
It would be nice if anyone could suggest what steps I should have to
follow to create gcc having same dependencies as RedHat's default gcc has.
Thanks in advanced.
Follow the source: :-)
Download the SRPM from RedHat and unpack it using the following:
rpm -i gcc-<whatever>.src.rpm
This will put several files in /usr/src/redhat/{SPECS,SOURCES/
Take a look at gcc.spec in the SPECS directory. It will show
you in detail how RedHat builds gcc. It's a bit complex, but
everything is there.
You can also re-build gcc using
"rpmbuild --rebuild gcc-<whatever>.src.rpm".
--
Michael Eager eager@xxxxxxxxxxxx
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077