Hi,
I wish to create a c-archive that contains only specific symbols, importing on runtime the needed symbols.
I managed to create a `.o` file that I believe contains only my functions using
`go tool compile -shared -dynlink main.go`
but then when I do
`go tool link -buildmode=c-archive -extld clang -extldflags='-undefined dynamic_lookup' -installsuffix /tmp -o main.a main.o`
It tries to find all the runtime stuff I want it to link at runtime.
Thanks in advance,
Aviram