elliotchance / c2go

⚖️ A tool for transpiling C to Go.
MIT License
2.09k stars 155 forks source link

Installation of c2go #894

Closed g41797 closed 1 year ago

g41797 commented 1 year ago

First of all - thanks a lot for this code

go get -u github.com/elliotchance/c2go Result: go: go.mod file not found in current directory or any parent directory. 'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version,

Worked installation: go install github.com/elliotchance/c2go@latest go build github.com/elliotchance/c2go

Is it possible to add clarification? Thanks

elliotchance commented 1 year ago

Yes, you're right. Happy to accept a PR :)

g41797 commented 1 year ago

OOOOPS Just now I got the point - PR is "pull request" :-( I started to learn git some days ago and still don't understand acronyms

Moreover all linux tools are new for me e.g. c2go requires clang - i spend long time to install it next step - compilation flags for include dirs I cannot find example of c2go cmd line with -I etc etc

ohjiwoo123 commented 1 year ago

Thanks for notice that how to install newly!