dl icon indicating copy to clipboard operation
dl copied to clipboard

debian 32

Open axet opened this issue 9 years ago • 3 comments

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 avatar Sep 20 '15 12:09 axet

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

rainycape avatar Dec 22 '15 07:12 rainycape

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 avatar Dec 22 '15 09:12 axet

@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).

rainycape avatar Dec 22 '15 10:12 rainycape