#pragma comment (lib, ...)

Simen Kjaeraas simen.kjaras at gmail.com
Wed Oct 10 08:19:12 PDT 2012


On 2012-10-10, 16:19, Walter Bright wrote:

> On 10/10/2012 4:26 AM, Manu wrote:
>> I think D's modules make this relationship even stronger, and it's a  
>> shame it's
>> not a standard part of D.
>
> 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.

Note: The above comes from a 2-minute cursory read of the ELF standard,
and may thus contain errors. :p

-- 
Simen


More information about the Digitalmars-d mailing list