Skip to content

MacOS support #6

Open
Open

Description

@trungnt2910

Support for MacOS? Should it be possible?
This might be a good guide.
A better repo with MIT license.

A partial effort can be found here

Activity

  1. GGLaunch commented on Feb 9, 2022

    @GGLaunch

    image
    try it

  2. trungnt2910 commented on Feb 9, 2022

    @trungnt2910
    OwnerAuthor

    Which library is that?

  3. trungnt2910 commented on Feb 11, 2022

    @trungnt2910
    OwnerAuthor

    https://docs.microsoft.com/zh-cn/dotnet/api/system.runtime.interopservices.nativelibrary?view=net-5.0

    Oh, that function.

    The whole purpose of MemoryModule.NET is to load native libraries without touching the disk. The target binary might be some embedded resource, or a file downloaded from the internet.

    The functions you showed are just simple wrappers around MacOS's native dlopen and dlsym, which requires libraries to be present on disk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions