> If I take an empty FPC project and build it(console prject). the run > ldd on it I get the result : not a dynamic executable ie. no > dependencies. > If I add blcksock to the uses clause and recomplie it get > dependencies to pthreads and libc. Now, I do know the linker is a bit > rough in the edges and might include parts from synapse that is not > called or used, but here I only include blcksock and don't even > instantiate any sockets.
Then it is IMHO OK! Synpase using FreePascal's sockets unit as multiplatform socket API. And Freepascals Sockets unit is implemented by various ways on various platforms... on some it using libc, on others it using syscalls, etc. > If the linker might include SSL stuff just for being in the unit even > though it's not called, can we perhaps add some compiler directive we > can set if we don't intend to use ssl at all? Synapse is compiled without any SSL support by default. SSL support is added by explicitly selected SSL plugin. -- Lukas Gebauer. E-mail: [EMAIL PROTECTED] WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP Library ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
