libtalloc compilation on windows

Andrew Bartlett abartlet at samba.org
Sat Oct 13 02:11:31 UTC 2018


On Fri, 2018-10-12 at 20:41 -0400, Nico Kadel-Garcia wrote:
> On Fri, Oct 12, 2018 at 3:25 PM Andrew Bartlett via samba-technical
> <samba-technical at lists.samba.org> wrote:
> > 
> > On Mon, 2018-10-08 at 19:16 +0530, Arvind Gupta via samba-technical
> > wrote:
> > > 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.
> > 
> > There isn't any native build system support for it, but I know it has
> > been done in the past, probably by bringing in the talloc.c and
> > talloc.h manually.  As long as your project is open source I would just
> > build it into the build system (if not, you will need to find a way to
> > produce a shared lib and allow a consumer patch/rebuild of talloc per
> > the LGPL).
> 
> More important. *Why!!*. It's theoretically possible to do under
> CygWin, but I think you're gong to bleed before you get this  to work
> in a stable and portable way.

I'm not sure why you say that.  Talloc is just a C memory allocator, it
isn't really that tied to a posix system (unlike the rest of Samba).

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba





More information about the samba-technical mailing list