[Samba] Cross-compile and directory locations

Gilles gilles.ganault at free.fr
Mon Aug 8 16:32:24 MDT 2011


On Thu, 4 Aug 2011 22:33:14 +0200, Martin Herrman <martin at herrman.nl>
wrote:
>maybe I found the answer:
>
>./configure --prefix=/home/martin/result/
>--exec-prefix=/home/martin/result/ --sbindir=/sbin
>--with-rootsbindir=/opt/sbin
>
>does the job? (sbindir defines the install directory, rootsbindir
>defines the location where the binaries will search)

I'm also interested in tips about cross-compiling Samba (3, for a
non-MMU CPU).

I untarred the tarball. What parameters should I pass to autogen.sh
before calling configure so that cross-compiling works OK?

Thank you.



More information about the samba mailing list