Coder Social home page Coder Social logo

Comments (6)

ladislas avatar ladislas commented on July 27, 2024

@sslupsky had the same issue:

#51 (comment)

downgrading to previous xcode versions seems to work.

from homebrew-avr.

ladislas avatar ladislas commented on July 27, 2024

@MCUdude try running brew doctor

from homebrew-avr.

Dsignmind avatar Dsignmind commented on July 27, 2024

@MCUdude @ladislas I am running into a similar problem. I don't have the ability to downgrade XCode as I also develop mobile apps that require iOS11.
Getting the exact same error when I try to install avr-gcc@5 after following steps from #62
Any help appreciated.

from homebrew-avr.

ladislas avatar ladislas commented on July 27, 2024

just fixed it.

quick question though: why not use avr-gcc 7.3?

from homebrew-avr.

Dsignmind avatar Dsignmind commented on July 27, 2024

@ladislas Thank you, trying now!
To be honest I would, but I'm collaborating on a project that is using an older AVR++ library (pre gcc 6.0.0) and to do so would mean fixing/changing a lot of reinterpret_cast errors I am receiving from the existing code.

from homebrew-avr.

sslupsky avatar sslupsky commented on July 27, 2024

@Dsignmind You can have multiple versions of Xcode installed. You can download Xcode 8, rename it some something like Xcode8.3.3 (do not have any spaces in the name), move it to your Applications folder before you run it then run it. Then open preferences and you can select which toolchain to use (Xcode 9 or Xcode 8).

I had a problem compiling avr-gcc 4.5.3 with avr-libc1.7.1. Source code required a hack to make it compile. I added the following to the brew formula:

inreplace "gcc/config/avr/driver-avr.c", "if (0 == argc)\n return;", "if (0 == argc)\n return NULL;"

from homebrew-avr.

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.