This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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: FAQ: how to build a statically-linked gcc?


On Wed, Oct 15, 2003 at 09:05:03AM -0700, Dan Kegel wrote:
> Can somebody clue me in on the right way to build static gcc binaries?

make BOOT_LDFLAGS="-static" bootstrap

or

make LDFLAGS="-static"

if not bootstrapping. Works for me.

Greg


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