Hi
ok, good, i got this format to work:
g++ mycode.cpp -o mycode.dylib -dynamiclib
but I get an error , when I use the .dynlib file as a function in lazarus Intel Macmini):
symbol _fnmatch used from dynamic library /sw/lib//libgtk-1.2.0.dylib(fnmatch.lo) not from earlier dynamic library /usr/lib/libSystem.B.dylib(fnmatch.So)
Error: Error while linking