Giter VIP home page Giter VIP logo

Comments (3)

rsvensson avatar rsvensson commented on September 4, 2024

Just after posting this I thought of putting the path to the actual vbccm68k executable as my CC environment variable instead of the vc frontend, and then it worked just fine and added the includes. Doh. So ignore this I guess. I do wonder if there is a way to not have to specify that every time? Shouldn't the /usr/lib/bear/wrapper.d/vbccm68k link handle that theoretically?

from bear.

rizsotto avatar rizsotto commented on September 4, 2024

@rsvensson I am happy that you could sort it out.

I can explain why it is a bit of trouble to use cross compilers... The two main things (that Bear does) are: intercept the executions and recognize them. When you put a link into the wrapper directory, that helps to intercept. To help recognize it, you need to create a config file and list the compiler in the compilation.compilers_to_recognize section.

When you specify the CC environment, that instruct Bear that this executable needs to be recognized.

On linux the interception works well without create a new wrapper executable. But still needs help to recognize the compiler calls.

from bear.

rsvensson avatar rsvensson commented on September 4, 2024

Thanks for your explanation!

Hmm but I did create a config file like that and tried to add both vc and vbccm68k to the compilers_to_recognize list. That did not help me in this case unfortunately, although it's possible I did something wrong. I don't have that config file saved anymore unfortunately. But it's not a big deal to specify the CC env var. I don't need to run Bear often enough to where it would be annoying.

Thanks for making this great piece of software btw!

from bear.

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.