Menu

#392 Cross build

open-fixed
5
2004-11-26
2004-11-26
No

To cross build tcl package, following patch improve
situation.

In general configure scheme, we can override and skip
test with configure cache file. It is very useful for
cross build, where we the test of AC_TRY_RUN cannot
execute (because of build != host).

In tcl's unix configure, there are three check, where this
override doesn't work.

I think that any AC_TRY_RUN should be enclosed with
AC_CACHE_VAL for cross build.

Discussion

  • Niibe Yutaka

    Niibe Yutaka - 2004-11-26

    Patch to unix/configure.in

     
  • Donal K. Fellows

    • status: open --> open-fixed
     
  • Donal K. Fellows

    Logged In: YES
    user_id=79902

    I've updated configure.in to wrap AC_CACHE_VAL round
    AC_TRY_RUN, but I've done it in terms of a separate macro.

    I've not got the "official" version of autoconf (I'm a
    couple of versions later), so the changes have not been
    rolled into the actual 'configure' script itself, but it all
    works for me now and this can be closed once the regen is done.

     
  • Niibe Yutaka

    Niibe Yutaka - 2004-11-26

    Logged In: YES
    user_id=3600

    I see. Thanks a lot!