Bug 3424 - ./configure script doesn't allow to cross-compile
Summary: ./configure script doesn't allow to cross-compile
Status: RESOLVED LATER
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.21a
Hardware: Other Linux
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
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 (dead mail address) 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.