Re: What's static link at runtime?
From: Phlip (phlip_cpp_at_yahoo.com)
Date: 10/20/04
- Next message: Phlip: "Re: No Macros, No for loops, Pure C++"
- Previous message: Steven T. Hatton: "Re: No Macros, No for loops, Pure C++"
- In reply to: BekTek: "What's static link at runtime?"
- Next in thread: Howard: "Re: What's static link at runtime?"
- Reply: Howard: "Re: What's static link at runtime?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 19 Oct 2004 23:36:03 GMT
BekTek wrote:
> When I build boost libs,
> I realized that there is static link at runtime..
>
> What does that mean?
>
> I thought static linking is done at compile time.
> Am I wrong?
<warning value="platform specific">
Uh, all platforms I know support this feature,
but C++ itself does not define it, so YMMV.
You can build a library to link statically, as a LIB,
or dynamically, as DLL. The former links at link
time, and the latter links after you double-click on
an executable but before any of the executable's
opcodes evaluate.
</warning>
Many libraries provide both LIBs and DLLs, so the end-programmer can pick if
they want executables that are easy to install or small, respectively.
However <deep breath> The C++ Standard does not define LIBs or DLLs (or .a
and .so files), so future discussions about them belong on any newsgroup
except this one.
-- Phlip http://industrialxp.org/community/bin/view/Main/TestFirstUserInterfaces
- Next message: Phlip: "Re: No Macros, No for loops, Pure C++"
- Previous message: Steven T. Hatton: "Re: No Macros, No for loops, Pure C++"
- In reply to: BekTek: "What's static link at runtime?"
- Next in thread: Howard: "Re: What's static link at runtime?"
- Reply: Howard: "Re: What's static link at runtime?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|