Skip to content

rat1borik/yamlconfig

Repository files navigation

https://stackoverflow.com/questions/40573401/building-a-dll-with-go-1-7

  1. Make sure you have MinGW installed on Ubuntu:

    sudo apt-get install gcc-mingw-w64-i686
    

    and

    sudo apt-get install gcc-mingw-w64-x86-64
    
  2. Compile using the following command:

    GOOS=windows GOARCH=386 CGO_ENABLED=1 CC=i686-w64-mingw32-gcc go build -buildmode=c-shared -o yamlconfig.dll yamlconfig.go
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published