Code Monkey home page Code Monkey logo

Comments (3)

jcar87 avatar jcar87 commented on June 9, 2024

Hi @dsche - thank you for reporting this.

Please bear in mind that Conan 1.x is no longer actively maintained, although we would only look at critical bug fixes. It would be good to see if this also happens using the CMakeDeps generator, rather than the legacy unsupported ones.

On the other hand, Conan works under the assumption that the qcc frontend is invoked, as recommended by the QNX SDK documentation: https://www.qnx.com/developers/docs/8.0/com.qnx.doc.neutrino.utilities/topic/g/gcc.html - that does not recommend invoking the gcc executables directly. My recommendation would be to follow the recommended approach in the documentation, and invoke qcc with the relevant -V to specify your desired target.

if you really need to completely bypass the qcc frontend, assuming you take care of all the things that the frontend would otherwise take care of for you, you could perhaps try changing compiler=qcc to compiler=gcc in the profile, as that more accurately reflects that's happening (the os is still Neutrino).

from conan.

dsche avatar dsche commented on June 9, 2024

Hi @jcar87 , thanks for the quick reply! Some comments on that:

  • The issue persists also in Conan 2.x.
  • It is possible to circumvent it by hacking the recipe eg via cmake.blocks.remove("libcxx"). It might do something awful to our build, but for now it seems to work.
  • AFAIK switching the compiler would trigger the change to all the dependencies, which is not what we want

from conan.

jcar87 avatar jcar87 commented on June 9, 2024

I'm not sure I would consider this a bug, since we are abiding to the QNX documentation recommendations, and by expressing qcc as the compiler, then I think it makes sense for Conan to assume that it is actually the qcc frontend rather than gcc.

Is there any specific reason why gcc -V[targetname] is not a valid solution, rather than resorting to invoking the gcc frontend directly? There may be a case to raise an issue with QNX support.

from conan.

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.