> Actually, I am trying to link object file compile with gcc with go > object file. I was thinking using gccgo would make things simplier since > the backend is the same. Anyway, I follows your suggestion to use 'go' > command instead and find this guide > <https://stackoverflow.com/questions/16747021/how-do-you-statically-link-a-c-library-in-go-using-cgo> > on SO. The answer written by Didier basically works for me, except that > '//#include <toto.h>' has to be replaced by '//#include <toto.h>' to get > the code compiled. Have a good day :)
No problem, and you are welcome. > Btw, does anyone have problem cloning github repo? I get the SSL > verfication problem mentioned earlier. However, I have already installed > nss-certs and include the following line in .bashrc: > GIT_SSL_CAINFO="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt" > export GIT_SSL_CAINFO > > Any ideas? Add nss-certs to your system config. $ $EDITOR /etc/config.scm $ guix system reconfigure /etc/config.scm That solved my SSL issues. Cheers, --- Matthew Jordan
