Using talloc in an embedded windows project

Rodney Elliott rodney.elliott at gmail.com
Sun Jan 20 00:11:32 MST 2013


Greetings All,

My apologies if the following discussion is better-suited to another Samba
mailing list. If it is, please let me know which one and I shall move there
instead.

I would like to be able to use talloc in an upcoming embedded project, but am
having difficulty determining if such a thing is possible, and if so, how to
go about it.

The target in question is an ARM7 with a CortexM3 core, and I am using a
vendor-supplied IDE (Cypress PSoC Creator 2.2) under Windows 7 for code
development. The IDE uses the ARM GCC 4.4.1 compiler.

Thanks to the helpful folks on Stack Overflow, I have recently learnt that
talloc uses waf to create the config.h file whose absence is currently
preventing me from being able to successfully include talloc in my project.

Poking around in the .\buildfiles folder of the talloc tarball I downloaded,
it appears that it is not possible to use python and waf to create config.h
under Windows. Having almost no experience with linux however, I may well be
wrong.

Assuming that I am correct, and it is not possible to create config.h under
Windows, what alternatives are available? Would it be possible to create the
file on a linux box and transfer the file to Windows? Should I attempt to
create the file manually? Or would it be better to use a linux box that has
the same version of the ARM GCC compiler to create a static library (*.lib)
and include that file in my project source tree?

Any and all suggestions will be gratefully received.

Kind Regards,

 - Rodney


More information about the samba-technical mailing list