Skip to content
/ go-static Public

Sandbox for linking Go against static libraries and calling C functions without CGO

Notifications You must be signed in to change notification settings

brb/go-static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-static

This is a sandbox for trying out:

  • Linking Go applications against static libraries.
  • Calling C functions without using CGO.

Requires go1.4beta1-1732-g9b69196 because of generated go_asm.h.

Thanks to Solaris port which implemented SysV ABI compatible wrappers.

Demo: make && ./main.

About

Sandbox for linking Go against static libraries and calling C functions without CGO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published