-
Notifications
You must be signed in to change notification settings - Fork 781
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
how to use arm-linux-gcc ? #1603
Comments
The toolchain you try to use doesn't exist. Have a look here: https://github.com/mruby/mruby/tree/master/tasks/toolchains You have to create a toolchain file which describes the compiler tool names.
|
so , I have create a toolchains ,
|
did you adapted the content of the toolchain? I.e. changing the identifier from :gnu to :arm and also changing the compiler tool names?
|
yes , I forget edit arm.rake with and file type is for arm :
|
Could u post your complete arm.rake?
|
yes
|
Your toolchain should also contain an archiver command for arm (ar). Can you configure the command:
|
when add " conf.archiver.command " into MRuby::Toolchain.new(:arm) :
err msg :
whether need define each command :
when I configure a cpp source , just need run this : so , what is the easiest way to define these commands ? |
@sevk replace the string 'arm-linux-ld' to 'arm-linux-gcc' |
@slucx it works for me, thanks. |
@sevk Did you succeed? |
something like this :
my cross build tools is :
all in there:
The text was updated successfully, but these errors were encountered: