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

debian 32 #2

Open
axet opened this issue Sep 20, 2015 · 3 comments
Open

debian 32 #2

axet opened this issue Sep 20, 2015 · 3 comments

Comments

@axet
Copy link

axet commented Sep 20, 2015

axet@debian:~/source/github/desktop/go/test$ go version
go version go1.4.2 linux/386
axet@debian:~/source/github/desktop/go/test$ go get github.com/rainycape/dl
# github.com/rainycape/dl
/tmp/go-build651627590/github.com/rainycape/dl/_obj/amd64.o: In function `call':
../../../../go/src/github.com/rainycape/dl/amd64.c:56: undefined reference to `make_call'
collect2: error: ld returned 1 exit status
axet@debian:~/source/github/desktop/go/test$ 
@rainycape
Copy link
Owner

@axet dl only supports amd64 for now, patches for other arches are welcome.

@axet
Copy link
Author

axet commented Dec 22, 2015

I got it. Thanks.

But I found this is not the best way to work with dl. I decide to use static linking, it gives you more freedom. You can find out how in my project:

https://github.com/axet/desktop

@rainycape
Copy link
Owner

@axet That definitely makes more sense in your project. dl is intended to be used in distributed binaries (i.e. you're implementing a main package and you want to distribute a ready to run binary for it) to avoid having a hard dependency for something not essential (in my case, libreadline).

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