This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Statically linked GCC toolchain


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]