bug-bash
[Top][All Lists]
Advanced

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

Re: problems cross-compling bash-3.2


From: Christian Boon
Subject: Re: problems cross-compling bash-3.2
Date: Thu, 30 Aug 2007 08:40:45 +0200
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

Chet Ramey wrote:
Christian Boon wrote:

This is from aclocal.m4:

AC_DEFUN(BASH_SYS_JOB_CONTROL_MISSING,
[AC_REQUIRE([BASH_SYS_SIGNAL_VINTAGE])
AC_MSG_CHECKING(for presence of necessary job control definitions)
AC_CACHE_VAL(bash_cv_job_control_missing,
[AC_TRY_RUN([
#include <sys/types.h>
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <signal.h>

Chris

Does anybody know what is going wrong or what is missing?

Bash does not configure in job control when cross-compiling.  You can
remove the JOB_CONTROL_MISSING define from config.h and try building
without it, but there's no guarantee that the necessary capabilities
are present on the target system.  The macro you partially quoted above
encapsulates the required functionality.  If building without
JOB_CONTROL_MISSING defined doesn't result in a binary with job control
working, the tests in the macro give you a hint about where to look.

Chet



removing JOB_CONTROL_MISSING from config.h doesnt work.
but when i do:

export bash_cv_job_control_missing=present

job control is compiling and working.

Chris





reply via email to

[Prev in Thread] Current Thread [Next in Thread]