Rebuilding gcc with itself should be unneccessary as gcc does the same thing as part of its normal make (phase 1 of make is to build gcc with local compiler, phase 2 builds finall gcc with compiler from gcc). Avoiding this rebuild could save a lot of time. Rebuilding make with gcc is probably appropriate though.
Martin > -----Original Message----- > From: Vinod Kutty [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 03, 2002 10:47 AM > To: [EMAIL PROTECTED] > Subject: Re: Solaris 8: Bootstrap from source with gcc and NO Sun cc? > > > > So, just to be clear, are you recommending that the *binary* openpkg > gcc-*.rpm be installed first ? Wouldn't that still be considered an > "alien" gcc if I'm installing subsequent RPMs into a dir > other than /cw > (or wherever it goes)? > > What I did (although I temporarily defined l_cc in rpmmacros > until I got > gcc built, it would be similar with the command line opts), was: > > - built make-*.src.rpm (because gcc-*src.rpm depends on it) using > /usr/local/bin/gcc > > - built gcc-3.2*.src.rpm using /usr/local/bin/gcc > > - installed the resulting gcc-3.2*.rpm > > - built rsync-*src.rpm using the newly installed openpkg > gcc-3.2 (this was > just to test if the new gcc worked) > > - Now, I've rebuilt gcc-3.2-*.src.rpm using the openpkg gcc-3.2, and I > plan on installing that (after uninstalling gcc-*.rpm). > > - after that, I plan on rebuilding rsync and various other src RPMs > (probably make as well, though I might have to force it > because of the gcc > dependency) > > Does that sound like a reasonable procedure for bootstrapping > from source? > > Thanks, > -- > Vinod > ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
