#pragma comment (lib, ...)
Walter Bright
newshound2 at digitalmars.com
Wed Oct 10 08:56:49 PDT 2012
On 10/10/2012 8:19 AM, Simen Kjaeraas wrote:
> On 2012-10-10, 16:19, Walter Bright wrote:
>> Some object module formats do not have the ability to embed a library
>> reference in them. Elf (cough cough), Mach-O (wheeze)
>
> ELF has .comment and .note sections. While they're not exactly intended
> for the purpose, they seem to fit the bill?
>
> It'd of course require a linker to know what to do with the data, but
> it seems to me this would not interfere with other uses.
Exactly. Embedding it in a comment section accomplishes exactly nothing if the
linker ignores it.
More information about the Digitalmars-d
mailing list