libtalloc compilation on windows
Andreas Schneider
asn at samba.org
Sat Oct 13 08:42:02 UTC 2018
On Monday, October 8, 2018 3:46:05 PM CEST Arvind Gupta via samba-technical
wrote:
> Hi
Hi,
> I want to compile libtalloc on windows platform. Looking for information in
> net, but not finding nay info. What are the steps and dependencies? Any
> info or help is highly appreciated.
we don't support this. However you should start by e.g. using cmake to get a
build system which can compile it on Windows. The only dependency of talloc is
libc (standard C memory allocator). However there my be some things which
might not work on Windows like constructions and you need to use DLLMain() for
that.
If you're looking for cmake examples and constructor support, take a look at:
https://git.cryptomilk.org/projects/cmocka.git (good cmake example)
https://git.libssh.org/projects/libssh.git (DllMain for constructor and
destructor)
Andreas
More information about the samba-technical
mailing list