How do you build GCC 4.0.1 statically?

Zachary Zuwodny zz@beeb.net
Mon Aug 29 14:53:00 GMT 2005


>> I would like to build a bootstrapped GCC which is not dynamically linked
>> to any shared libraries (as a temporary measure since I am building
>> Linux from scratch).

>Follow the book? they know what they are doing? i think that would be a good one.

The Linux From Scratch book used to give instructions for building GCC
statically but in the latest version they use a different method.
However, for my particular set-up I need a static build, hence my question.

If anyone knows the answer, I would be very grateful for it.

Thanks,
Zac.




More information about the Gcc-help mailing list