Giter Site home page Giter Site logo

Comments (5)

ljbade avatar ljbade commented on May 17, 2024

@springmeyer Should we just switch Android to binary libz as part of system-lib purge?

from mason.

springmeyer avatar springmeyer commented on May 17, 2024

the verison check utility

This utility I've found is quite brittle/non-starter when cross-compiling. I think we should consider alternatives, but I've not looked closely yet at what depends on it.

springmeyer Should we just switch Android to binary libz as part of system-lib purge?

libz is the one library I've found to be viable to use dynamically and still be portable. I presume Android provides it? If so what would it take to reliably use the Android zlib without conflicting others on the host machine?

from mason.

ljbade avatar ljbade commented on May 17, 2024

@springmeyer it should be possible to set sysroot and tell compiler to not search default locations?

from mason.

ljbade avatar ljbade commented on May 17, 2024

I will move to non-system libz

from mason.

springmeyer avatar springmeyer commented on May 17, 2024

it should be possible to set sysroot and tell compiler to not search default locations?

Yes, but that is brittle. In my experience it is far more predictable to only put on the compiler/linker paths custom directories you want to link to as discussed in #65 and achieved by using symlinks to system files into a custom directory. You can also set C_INCLUDE_PATH, CPLUS_INCLUDE_PATH, and LIBRARY_PATH to that custom directory to help the compiler prefer them over system directories. Let's hope this gets solved eventually by c++17: http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4214.pdf

from mason.

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.