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

Rainer Stratmann rainerstratmann at t-online.de
Tue Dec 28 13:10:56 CET 2021


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 library?
What compiler switches do I have to set?





More information about the fpc-pascal mailing list