Giter Club home page Giter Club logo

Comments (2)

lczech avatar lczech commented on May 18, 2024

Hi Mick (@michaelgelliot),

thanks for bringing this up, this is interesting. If I run the command you provided on my gappa binary (locally compiled in release mode, so probably the same that you have done), the only strings that fit your description are some that simply list the cpp files of the source code of gappa, for example

/home/lucas/Dropbox/GitHub/gappa/src/main.cpp

I am not entirely sure why they are there, but highly likely just for some bookkeeping and such, and totally unrelated to the execution of the program. The strings command lists string content that is part of the binary (such as the plain text of error messages that the program stores, or command line argument descriptions) - it is not related to the execution paths of the program.

Is that also similar to what you are seeing, or do you have other types of paths in there that might cause more trouble? If so, could you please share some of them?

Also, generally, there should not be any dependencies of the gappa binary to local files within the gappa directory itself (only to libraries on the system - so you won't be able to move the binary to a different computer - this is possible with some extra compile flags, but not done by default, as it is a bit tricky to get to work on all systems). I have tried to configure the build and compilation specifically to avoid local dependencies, and hence to ensure that you can simply move the gappa binary to any path on the same system. The program to test this is ldd on unix and otool -L or something like that on mac. If you run this on gappa (i.e., otool -L gappa), you should not get any paths to the gappa directory, and just some system libraries listed. Could you please check this as well? Also, have you actually tried to move the gappa binary to /usr/bin? As said, it should just work - please check. If not, let me know ;-)

Cheers
Lucas

from gappa.

lczech avatar lczech commented on May 18, 2024

Hi @michaelgelliot,

closing the issue now, as the strings that you describe should not affect portability of the binary in any way. If you have further questions, feel free to comment here or re-open the issue as needed :-)

Cheers
Lucas

from gappa.

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.