This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Statically linked GCC toolchain
- From: Michael Eager <eager at eagercon dot com>
- To: prakash <prakash_bhurke at persistent dot co dot in>
- Cc: crossgcc at sourceware dot org, gcc-help at gcc dot gnu dot org
- Date: Tue, 05 Sep 2006 08:20:04 -0700
- Subject: Re: Statically linked GCC toolchain
- References: <44F9FFD6.6010903@persistent.co.in> <44FCC3E7.6050806@persistent.co.in>
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@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077