samba cross compiling

James Peach jpeach at samba.org
Tue Apr 3 15:47:55 GMT 2007


On Apr 3, 2007, at 7:14 AM, mokhtar wrote:

>
>
>
>
> I removed  --host=mips-linux
> but I got error
>
>
> ./configure --with-sendfile-support --without-winbind CC=mips-linux- 
> gcc
> CPP=mips-linux-cpp
> configure: loading site script /usr/local/samba/share/config.site
> SAMBA VERSION: 3.0.24
> checking for -fPIE... yes
> checking for gcc... mips-linux-gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... configure: error: cannot  
> run C
> compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.

Here's what I do:
	CONFIG_SITE=config.site configure --build=<build host type> \
					--host=<target host type>

--
James Peach | jpeach at samba.org



More information about the samba-technical mailing list