Giter Club home page Giter Club logo

Comments (4)

dspinellis avatar dspinellis commented on September 22, 2024

I think that core-tools/src/dgsh-elf.s needs to be adjusted for macOS Mojave. You may try compiling into assembly (cc -S) a small C program containing int force_include; to see how it should be defined. Then add that definition to core-tools/src/dgsh-elf.s. I'd appreciate a pull request.

from dgsh.

mfragkoulis avatar mfragkoulis commented on September 22, 2024

The commit does what @dspinellis suggests. Since the data in the dgsh-elf.s file are used to identify a dgsh program by means of checking whether it is linked with the dgsh library, more work is required for this to also work on MacOS. This work is under way for a while now in the osx-build branch (so this is a known issue). In particular, check out dgsh_util.c. With this opportunity I'll try to push this work forward so that we can close this issue.

from dgsh.

mfragkoulis avatar mfragkoulis commented on September 22, 2024

The issue should be resolved now. By the way, there is a more efficient implementation of parsing macho files under way via mmap instead of file read/seek operations. That said, besides performance the existing implementation should work fine.
@mitchwagner you can retry building. If everything looks good, we can close this issue.

from dgsh.

dspinellis avatar dspinellis commented on September 22, 2024

Seems to work now.

from dgsh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.