dl
dl copied to clipboard
debian 32
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$
@axet dl only supports amd64 for now, patches for other arches are welcome.
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
@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).