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

How a project is meant to be compiled to run on the brick? #74

Open
basharov opened this issue Dec 17, 2017 · 2 comments
Open

How a project is meant to be compiled to run on the brick? #74

basharov opened this issue Dec 17, 2017 · 2 comments
Labels

Comments

@basharov
Copy link

I know I can set flags to configure target architecture for a compiled app.
I want to develop on my main Mac machine, then compile and transfer compiled files into the brick.

What options should I use to compile for EV3 on a Mac?

@kortschak
Copy link
Member

GOOS=linux GOARCH=arm GOARM=5 go build in the project directory will leave an arm5 ELF executable that will run on the EV3 in the project dir (the GOOS var would not need to be set if compiled on a linux machine).

@dlech
Copy link
Contributor

dlech commented Apr 22, 2018

If you are looking for something IDE-like, you can try: https://github.com/ev3dev/vscode-hello-go

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

No branches or pull requests

3 participants