libtalloc compilation on windows

Andreas Schneider asn at
Sat Oct 13 08:42:02 UTC 2018

On Monday, October 8, 2018 3:46:05 PM CEST Arvind Gupta via samba-technical 
> 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 

If you're looking for cmake examples and constructor support, take a look at: (good cmake example) (DllMain for constructor and 


More information about the samba-technical mailing list