Or what is C++ keyword for sharing function?
With GNU Assembler it works this way:
test.s:
Code Select
.section .text
.global myfun
myfun:
...
than after gcc -c test.s -o test.o; ld test.o -shared
test.lsp:
Code Select
(import "./test.so" "myfun")
...
all works fine but how to do the same with C++-function?