Re: dlmopen on MacOS

Karoly Balogh via fpc-pascal <[email protected]>
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <[email protected]>
Hi,

On Wed, 20 Nov 2024, Adriaan van Os via fpc-pascal wrote:

> On Linux I would use dlmopen with LM_ID_NEWLM, but MacOS doesn't have
> dlmopen and dlopen doesn't have LM_ID_NEWLM.

(...)

> One wonders how operating systems can be designed that brainlessly.

"Reality doesn't support the assumptions around I designed my code,
therefore reality is wrong."

dlmopen is a Sun/Solaris extension, that isn't POSIX, and other systems
implement it if and as they wish. It's also not available on a number of
other Unix systems. For example it's not supported by Android's bionic
libc, and that's on Linux...

It only got implemented in GNU Libc 2.3.4, in 2005. I guess before that,
even GNU/Linux was brainlessly designed... *rolls eyes*

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