static-linking
How to build a program so that it doesn't require DLLs
How can I compile a (Haskell) program so that it doesn\'t require DLLs? I wrote a program that uses GLUT and requires glut32.dll. I compiled it with ghc --make program.hs. Now I want to distribute my[详细]
2023-01-28 19:21 分类:问答Qt + Google Protocol Buffers, Trouble linking libraries
Hopefully this is an easy question: I am building an application with Qt and would like to use Google\'s Protocol Buffers.I have downloaded and installed the protobuf source, now I开发者_Python百科 w[详细]
2023-01-23 14:12 分类:问答Linking error: templated friend operator overload
I am having a strange linking error. I followed instructions presented here to avoid this kind of problems, but I can\'t figure out how to split headers and implementation files.[详细]
2023-01-23 06:17 分类:问答Failed to create a custom TCL interpreter with TclPro1.4: undefined reference to `__ctype_b'
I am trying to create a custom TCL interpreter with TclPro according instructions at TclPro User\'s Guide Chapter 7, but it fails with linking error undefined reference to __ctype_b.[详细]
2023-01-22 04:55 分类:问答How do I statically link SDL on Windows with MinGW?
See title. I\'m using Code::Blocks. Googling results in info involving the sdl-config s开发者_运维问答h script, which I obviously can\'t use on Windows.How to statically compile an SDL game on Windows[详细]
2023-01-21 03:27 分类:问答How to call a lib written in C++ from C?
It seems to me like a no-brainer, but I cannot find any information against or for it. From the point of view of demangling etc, I don\'t suppose this to be a big problem, but I can\'t figure out, ho[详细]
2023-01-21 02:20 分类:问答method of converting a static library into a dynamically linked library
If all I have of a library is a *.a static library.Is there a way I can convert that to *.so dynamically linked library?Maybe using ld?[详细]
2023-01-20 10:51 分类:问答Why does gcc not implicitly supply the -fPIC flag when compiling static libraries on x86_64
I\'ve had numerous problems compiling shared objects that link statically against static libraries. This problem only shows up on x84_64 platforms. When doing the same compilation work on x86_32 I do[详细]
2023-01-20 05:49 分类:问答Static library auto-discovery and linking
I have the following problem, which seems not to have a nice solution. For example, I have an CLI utility which uses libtiff and libX11. I want to produce two versions of this utility: dynamically li[详细]
2023-01-19 19:55 分类:问答How to compile a program for distribution on Mac
I am developing a program on OSX 10.6.4 (Snow Leopard), and I want to be able to run the compiled product on other Intel Macs, some of whom may 开发者_开发问答not have XCode isntalled.[详细]
2023-01-18 12:25 分类:问答