-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
cgoCGo and libc related issuesCGo and libc related issuesenhancementNew feature or requestNew feature or request
Description
Hi! TinyGo is super interesting, thank you for all your work on this project.
I have a large CGO package that i'm interested to try with TinyGo, to reduce binary size and perform dead code elimination across Go/C/C++ boundaries. But, I hit some missing features so far.
$ cd miqt/examples/helloworld
$ tinygo build
# github.com/mappu/miqt/qt
../../qt/cflags.go:4:6: invalid #cgo line: CXXFLAGS
../../qt/cflags.go:6:6: invalid #cgo line: pkg-configGo with CGO uses these directives:
- Any .cpp files in the same package directory are compiled using the
$(go env CXX)compiler, using these #cgo CXXFLAGS - #cgo pkg-config declares the .pc file to use with
$(go env PKG_CONFIG) --cflags/--libs.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cgoCGo and libc related issuesCGo and libc related issuesenhancementNew feature or requestNew feature or request