Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: undefined method `gcc' for #<MakeStandaloneToolchainOptions:0x0000000100841790> #2

Open
peetonn opened this issue May 8, 2019 · 1 comment

Comments

@peetonn
Copy link

peetonn commented May 8, 2019

When trying to generate standalone toolchain, getting this error:

$ crew.dir/crew make-standalone-toolchain --arch=arm64 --api-level=26  --install-dir=/tmp/toolchain-arm64-api26
Warning: using system ruby
Create standalone toolchain in /tmp/toolchain-arm64-api26
error: undefined method `gcc' for #<MakeStandaloneToolchainOptions:0x0000000100841790>
@zuav
Copy link
Contributor

zuav commented May 12, 2019

  1. Currently, there is no support for api levels > 24.
  2. I could not reproduce an error:
    zuav@ithilien$ ./crew -b make-standalone-toolchain --arch=arm64 --api-level=24 --install-dir=/tmp/toolchain-arm64-api24
    Create standalone toolchain in /tmp/toolchain-arm64-api24
    GCC version: 5
    LLVM version: 3.8
    STL type: gnustl
    platform: darwin-x86_64
    target architecture: arm64
    API level: 24
    with packages:

= copying GCC toolchain prebuilt binaries
= copying host Python files from
= copying LLVM toolchain prebuilt binaries
= copying sysroot headers and libraries
= copying required packages:
libstdc++:5_5
libcrystax:1.0.0_4
libobjc2:1.8.1_5

  1. Could you please rerun your command with -b option, like this:
    ./crew -b make-standalone-toolchain --arch=arm64 --api-level=24 --install-dir=/tmp/toolchain-arm64-api24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants