User forums > Using Code::Blocks

Static linking

(1/1)

dnaxx:
Hello!
Is it possible to configure Code::Blocks in such a way, that external libraries are linked statically?
I'm using the current version of code::blocks under Ubuntu 7.10 and gcc.

Regards,

SplinterOfChaos:
What do you know, I was just wondering that!

*bump*

stahta01:
Build the Library as static and Code::Blocks will link it as static, if given the right options; this assumes the compiler you are using supports static (I think all compilers support static, but might be wrong).
Note, Code::Blocks plug-ins are required to not be static by design; else, you could not enable/disable at run-time.

Tim S

Navigation

[0] Message Index

Go to full version