{"action":"created","issue":{"url":"https://api.github.com/repos/craftr-build/craftr/issues/116","repository_url":"https://api.github.com/repos/craftr-build/craftr","labels_url":"https://api.github.com/repos/craftr-build/craftr/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/craftr-build/craftr/issues/116/comments","events_url":"https://api.github.com/repos/craftr-build/craftr/issues/116/events","html_url":"https://github.com/craftr-build/craftr/issues/116","id":160369779,"number":116,"title":"Support for ARMCC compiler","user":{"login":"SadE54","id":2878768,"avatar_url":"https://avatars.githubusercontent.com/u/2878768?v=3","gravatar_id":"","url":"https://api.github.com/users/SadE54","html_url":"https://github.com/SadE54","followers_url":"https://api.github.com/users/SadE54/followers","following_url":"https://api.github.com/users/SadE54/following{/other_user}","gists_url":"https://api.github.com/users/SadE54/gists{/gist_id}","starred_url":"https://api.github.com/users/SadE54/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SadE54/subscriptions","organizations_url":"https://api.github.com/users/SadE54/orgs","repos_url":"https://api.github.com/users/SadE54/repos","events_url":"https://api.github.com/users/SadE54/events{/privacy}","received_events_url":"https://api.github.com/users/SadE54/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/craftr-build/craftr/labels/feature%20request","name":"feature request","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"NiklasRosenstein","id":1318438,"avatar_url":"https://avatars.githubusercontent.com/u/1318438?v=3","gravatar_id":"","url":"https://api.github.com/users/NiklasRosenstein","html_url":"https://github.com/NiklasRosenstein","followers_url":"https://api.github.com/users/NiklasRosenstein/followers","following_url":"https://api.github.com/users/NiklasRosenstein/following{/other_user}","gists_url":"https://api.github.com/users/NiklasRosenstein/gists{/gist_id}","starred_url":"https://api.github.com/users/NiklasRosenstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiklasRosenstein/subscriptions","organizations_url":"https://api.github.com/users/NiklasRosenstein/orgs","repos_url":"https://api.github.com/users/NiklasRosenstein/repos","events_url":"https://api.github.com/users/NiklasRosenstein/events{/privacy}","received_events_url":"https://api.github.com/users/NiklasRosenstein/received_events","type":"User","site_admin":false},"assignees":[{"login":"NiklasRosenstein","id":1318438,"avatar_url":"https://avatars.githubusercontent.com/u/1318438?v=3","gravatar_id":"","url":"https://api.github.com/users/NiklasRosenstein","html_url":"https://github.com/NiklasRosenstein","followers_url":"https://api.github.com/users/NiklasRosenstein/followers","following_url":"https://api.github.com/users/NiklasRosenstein/following{/other_user}","gists_url":"https://api.github.com/users/NiklasRosenstein/gists{/gist_id}","starred_url":"https://api.github.com/users/NiklasRosenstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiklasRosenstein/subscriptions","organizations_url":"https://api.github.com/users/NiklasRosenstein/orgs","repos_url":"https://api.github.com/users/NiklasRosenstein/repos","events_url":"https://api.github.com/users/NiklasRosenstein/events{/privacy}","received_events_url":"https://api.github.com/users/NiklasRosenstein/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2016-06-15T08:50:49Z","updated_at":"2016-07-02T17:32:54Z","closed_at":null,"body":"Hi,\r\n\r\nI would like to use Craftr for embedded dev. Could it be possible to support the armcc compiler from ARM ? (From 3.5, this compiler is supported by cmake)"},"comment":{"url":"https://api.github.com/repos/craftr-build/craftr/issues/comments/230113176","html_url":"https://github.com/craftr-build/craftr/issues/116#issuecomment-230113176","issue_url":"https://api.github.com/repos/craftr-build/craftr/issues/116","id":230113176,"user":{"login":"NiklasRosenstein","id":1318438,"avatar_url":"https://avatars.githubusercontent.com/u/1318438?v=3","gravatar_id":"","url":"https://api.github.com/users/NiklasRosenstein","html_url":"https://github.com/NiklasRosenstein","followers_url":"https://api.github.com/users/NiklasRosenstein/followers","following_url":"https://api.github.com/users/NiklasRosenstein/following{/other_user}","gists_url":"https://api.github.com/users/NiklasRosenstein/gists{/gist_id}","starred_url":"https://api.github.com/users/NiklasRosenstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiklasRosenstein/subscriptions","organizations_url":"https://api.github.com/users/NiklasRosenstein/orgs","repos_url":"https://api.github.com/users/NiklasRosenstein/repos","events_url":"https://api.github.com/users/NiklasRosenstein/events{/privacy}","received_events_url":"https://api.github.com/users/NiklasRosenstein/received_events","type":"User","site_admin":false},"created_at":"2016-07-02T17:32:54Z","updated_at":"2016-07-02T17:32:54Z","body":"Hey! If you want to use GCC instead, it's probably just a matter of passing the target architecture to GCC..?\r\n\r\n```python\r\nfrom craftr.ext import platform\r\nobj = platform.cc.compile(\r\n  sources = path.glob('src/*.c'),\r\n  additional_flags = ['-arch=arm'],\r\n)\r\n```\r\n\r\nOr does it require cross-compilation? In that case, just override `CC` to use the cross-compiler version of GCC.\r\n\r\n    CC=gcc-arm-linux-gnueabi craftr\r\n\r\n> I have to type : armcc --vsn\r\nto get version\r\n\r\nInteresting. Could you show me the output of this? Craftr tries various invocations to find the compiler it is dealing with and parses the output to find the compiler's version."}}
{"actor":{"display_login":"NiklasRosenstein"}}