Bug 3424 - ./configure script doesn't allow to cross-compile
./configure script doesn't allow to cross-compile
Status: RESOLVED LATER
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.21a
Other Linux
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-19 06:14 UTC by Tomasz Chmielewski
Modified: 2006-01-25 08:26 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Chmielewski 2006-01-19 06:14:12 UTC
./configure script doesn't allow to cross-compile Samba.

If it's run with options (in an environment that can cross-compile for that platform):

./configure.orig --target=mipsel-linux --host=mipsel-linux --build=i386-pc-linux-gnu

It quits with the following error:

configure.orig: error: cannot run test program while cross compiling
See `config.log' for more details.

There is no option in configure to disable "test program".

It is necesary to edit ./configure manually to allow compilation for another platform.
Comment 1 Gerald (Jerry) Carter 2006-01-25 08:26:47 UTC
If you have a patch for this, please post it to samba-technical@samba.org.
No one else has this featuer on their radar.