Re: External library name

Marco van de Voort via fpc-pascal <[email protected]>
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <[email protected]>
Op 5-1-2025 om 13:23 schreef Marco van de Voort via fpc-pascal:
>
> Op 5-1-2025 om 10:43 schreef Jonas Maebe via fpc-pascal:
>>
>>
>> That said, Darwin also uses two-level namespaces: 
>> https://blog.darlinghq.org/2018/07/mach-o-linking-and-loading-tricks.html#two-level-symbol-namespace 
>> . However, it does not do this through name mangling. The linker 
>> simply encodes in the generated binary in which library/framework it 
>> found the symbol at link time. Then, at run time, the dynamic linker 
>> will only look for that symbol in that specific library (unless you 
>> force a flat/single namespace through an environment variable).
>
> (.. and windows require the DLL to be present when linking, so can't 
> use this, thus requires the extra information)
>
>
Oops: should have been "Windows DOESN'T require the DLL to be present....
_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.