[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems cross-compling bash-3.2
From: |
Chet Ramey |
Subject: |
Re: problems cross-compling bash-3.2 |
Date: |
Wed, 29 Aug 2007 07:55:05 -0400 |
User-agent: |
Thunderbird 2.0.0.6 (Macintosh/20070728) |
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
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/