[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cross compiling packages that try to run test programs



On Thu, 25 Jan 2007 10:55:58 -0500
Jim Heck <jsurf@heckheck.com> wrote:

> 3.4 varient and can compile many packages, but has problems with
> packages that try to invoke a test program as part of the configure
> script to test the output of the compiler.  For example chrpath and

Those are compiled for the target arch, not the build arch so they
cannot be run.

> In general how does emdebian plan to get around invocation of native
> binaries as part of the compilation process?  Is QEMU the right

Don't. (!) Programs compiled during ./configure can be omitted via
cache files. Programs compiled during make can be omitted by preventing
'make check'.

See the emdebian-tools package, in particular, the manpages. (Available
in emdebian SVN whilst waiting for entry into Debian.)

> approach?  Will there be emdebian build patches for packages such as
> this that will newter the testing configure does?

Don't let ./configure do the test - provide the answer to the test in a
cache file.

--

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgphkJRMrgKqx.pgp
Description: PGP signature


Reply to: