Hi… i have to create .lib and .dll of cgo library . what is the command for creating .lib and .dll in windows ?
go build [-o output] -buildmode c-shared
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.