Hi… i have to create .lib and .dll of cgo library . what is the command for creating .lib and .dll in windows ?
For DLL: go build [-o output] -buildmode c-shared
For LIB: go build [-o output] -buildmode c-archive
For more information: go help build
or go help buildmode
@Yjuq thank you for replying
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.