Re: [fpc-pascal] Creating a shared library (Linux)

2021-12-28 Thread Rainer Stratmann via fpc-pascal
Ok. 'lib' is placed in front of the output file and '.so' afterwards. So the library is "libmylib.so" And "nm -D libmylib.so" works now. But it is confusing, because it is nowhere explained in the compiler. [x] Konventionen anwenden [x] use conventions In the Project settings -> path window

[fpc-pascal] Creating a shared library (Linux)

2021-12-28 Thread Rainer Stratmann via fpc-pascal
https://www.freepascal.org/docs-html/prog/progse55.html When analysing the mylib.o output file under Linux with nm -D mylib.o the answer is: no symbols. I have an export section in the library and in the past it worked already, but I did not remember exactly how. How can I get a shared