Re: External library name

Hairy Pixels via fpc-pascal <[email protected]>
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <CAGsUGtmscyLtYmcostNdNT3vwFz67r=nE6-y3FVv4NU1_fu79g@mail.gmail.com>
 On Jan 5, 2025 at 11:53:36 AM, Adriaan van Os via fpc-pascal <
[email protected]> wrote:

> This is a habit from the WIndows and Delphi world. In a one-levell
> namespace on MacOS, the dll name
> is superflouous. Note that ObjC symbols are always global ,which implies a
> one-level namespace.
>

what do you mean a one level namespace?

I thought the idea of external names is that you could resolve name
conflicts. Like if you had “exit” declared in 2 libraries can they both be
linked together in one program using the external name? I’m curious about
this though because I’ve never seen a way to do that with a linker, all you
can ever do is specify libraries then the linker does all the work and if
there are duplicates you get an error, end of story.

Regards,
    Ryan Joseph

_______________________________________________
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.