[rescue] Questions about SunOS 4.1.4

Phil Stracchino alaric at caerllewys.net
Sun Aug 10 00:22:46 CDT 2003


On Sat, Aug 09, 2003 at 11:23:25PM -0400, Curtis H. Wilbar Jr. wrote:
> I seem to recall compiling (foggy memory) gcc 2.something using cc.
> (The actualy "procedure" is compile gcc with cc, then recompile
> gcc with gcc, seem to recall a 3rd compile too... but it has been
> awhile).

That's bootstrap.  It's the recommended install procedure.  :)
1.  Compile gcc with installed compiler (stage 1)
2.  Compile gcc using the gcc you compiled in stage 1 (stage 2)
3.  Compile gcc using the gcc you compiled in stage 2 (stage 3)
4.  Compare the stage2 and stage3 objects.  They SHOULD be identical.
    If not, you have a problem.

If you're low on disk space, you can make bootstrap-lean and it'll
delete objects as soon as it no longer needs them.

Oh, and create your own build subdirectory to do your bootstrap in.
Please.  Building in the source tree is bad, mm'kay?  :)


-- 
 .*********  Fight Back!  It may not be just YOUR life at risk.  *********.
 : phil stracchino : unix ronin : renaissance man : mystic zen biker geek :
 :  alaric at caerllewys.net : alaric-ruthven at earthlink.net : phil at latt.net  :
 :   2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold)   :
 :    Linux Now!   ...Because friends don't let friends use Microsoft.    :



More information about the rescue mailing list