Statically linked GCC toolchain
Michael Eager
eager@eagercon.com
Tue Sep 5 15:20:00 GMT 2006
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
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list