Giter Site home page Giter Site logo

asymptotik / crosstool-arm-osx Goto Github PK

View Code? Open in Web Editor NEW
50.0 50.0 25.0 144 KB

Scripts to install crosstool-ng and generate a cross compiler on osx for targeting arm-unknown-linux-gnueabi. More specifically, I use it as a script to create a develpment cross compiler on osx to compile code for the Raspberry Pi.

Shell 100.00%

crosstool-arm-osx's People

Contributors

asymptotik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

crosstool-arm-osx's Issues

Static linking impossible on the host system 'x86_64-build_apple-darwin13.0.0'

[ERROR] Static linking impossible on the host system 'x86_64-build_apple-darwin13.0.0'
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_Abort[scripts/functions@327]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@491]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '/Volumes/CrossTool2NG/crosstool-ng-1.17.0/docs/B - Known issues.txt'
[ERROR]
[ERROR](elapsed: 0:02.00)
[00:02] / make[1]: *** [build] Error 1

I dont know where the build.log is located
I have xcode 5.0.2 and maveriks

version without homebrew

would it be possible for you to create a version that just uses macports? It would speed things along.

The current version failed for me. I am now using Virtual Box with debian and crosstool-ng as a workaround (I still find it crazy that ubuntu/debian/macports/etc do not ship a raspberry pi cross compiler).

What means cmd && true?

It looks like you want to suppress bash's exit on error, which is enabled with set -e. If so you should write:

command || true

Homebrew adds "g" prefix to new grep, install etc

Homebrew adds a "g" prefix to all the dupes (ggrep, ginstall, gar) etc..
ct-ng build will fail because of that

MacBookPro:arm-unknown-linux-gnueabi daniel$ PATH=$BrewHome/bin:$PATH ../${CrossToolVersion}/ct-ng build.4
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20130806.054021
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Dumping user-supplied crosstool-NG configuration'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@258]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@114]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '/Volumes/CrossTool2NG/crosstool-ng-1.17.0/docs/B - Known issues.txt'
[ERROR]
[ERROR](elapsed: 0:00.00)
[00:01] / gmake[1]: *** [build] Error 2
gmake: *** [build.4] Error 2

build.log:

[DEBUG] =================================================================
[DEBUG] Dumping user-supplied crosstool-NG configuration
[DEBUG] ==> Executing: 'grep' '-E' '^(# |)CT_' '.config'
[DEBUG] grep: empty (sub)expression
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Dumping user-supplied crosstool-NG configuration'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@258]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@114]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '/Volumes/CrossTool2NG/crosstool-ng-1.17.0/docs/B - Known issues.txt'
[ERROR]
[ERROR](elapsed: 0:00.00)

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.