Re: Understanding error messages in static linking

Sven Barth via fpc-pascal <[email protected]>
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <CAFMUeB-Fm4w0XHTkUH0=wDTyxTWR56RGwvEdXaqUZfYUf_h2Vw@mail.gmail.com>
Thomas Kurz via fpc-pascal <[email protected]> schrieb am
Di., 20. Aug. 2024, 18:16:

> And this is the point where I'm completely stuck. Is there anything I can
> try or is it just impossible to create an .exe which doesn't depend need
> the libcrypto DLL?
>
> Please, I don't want to discuss the pros and cons about static linking.
> There are no high-security demands I have to satisfy. I'd just like to
> understand what I'm doing wrong.
>

The internal linker does not support static libraries created by MSVC. Try
the external linker using -Xe or use GCC compiled libraries.

Regards,
Sven

>

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.