[Samba] compiling for ARM from a x86

Martin Zielinski mz at seh.de
Fri Feb 22 03:41:16 GMT 2002

On Friday, 22. February 2002 10:39, you wrote:
> Hi,
> How to compile the source code in order to run it on a
> ARM processor when using a X86 ?
> thanks,
> io
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com

Hi back,
1. Take a cross compiler
E.g. from  http://www.lart.tudelft.nl/lartware/compile-tools/

2. Set up your enviroment for it (you may need the linux-include 	  
"include/asm-arm" mapped to include/asm )

3. Change your PATH enviroment variable or - so do I -
change the Makefile in the source directory, so that CC points to your cross 
compiler (after normal configure).

4. Compile it.

You have to be aware, that you may need additional libraries (e.g. libcups).
You can cross-compile them the same way as described before or look at the 
debian sites - they have nearly everything for arm in binary packages.


More information about the samba mailing list