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.

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?

I can't wait for the new linker to be finished instead of using the
GNU linker. We will the get much smaller executables and smartlinking
will actually work

Mikael

On 11/19/06, Lukas Gebauer <[EMAIL PROTECTED]> wrote:
> > I have been looking through the source (38b1) for references to libc and
> > only find it in sslinux, which should not be included in fpc as it is
> > replaced by ssfpc. Yet as soon as I include blcksock unit to my program it
> > links against libc.
>
> blcksock really have dependency on libc? IMHO not.
>
> Some part o Synapse have dependency on Libc yet (synachar, SSL plugins,
> synamisc), but socket core not. Maybe you are using some other synapse
> unit too.
>
> If you found some Libc dependency on FPC, please tell me where.
>
>
> --
> 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
>

-------------------------------------------------------------------------
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

Reply via email to