Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Cross build

Open1073524fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 10 years ago
Descriptionplain2004-11-26 03:27:01
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.
gniibeplain2004-11-26 10:27:01
File Added - 110139: tcl.diff
dkfplain2004-11-26 18:25:07
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.
gniibeplain2004-11-26 19:16:14
Logged In: YES 
user_id=3600

To dkf:

Do you mean your changes of following?
http://cvs.sourceforge.net/viewcvs.py/tcl/tcl/unix/tcl.m4?r1=1.76&r2=1.77&only_with_tag=MAIN

Please look at my diff, it handles other cases.
dkfplain2004-11-26 20:16:38
Logged In: YES 
user_id=79902

I'm actually referring to the changes in
http://cvs.sourceforge.net/viewcvs.py/tcl/tcl/unix/tcl.m4?r1=1.131&r2=1.132
http://cvs.sourceforge.net/viewcvs.py/tcl/tcl/unix/configure.in?r1=1.122&r2=1.123
These are just cleaned up easy-to-use cases of what you suggest.
gniibeplain2004-11-26 20:31:41
Logged In: YES 
user_id=3600

I see.  Thanks a lot!
dkf Ticket [1073524fff]: 6 changes [History diff]2016-08-25 10:55:17
Log in (anonymous is fine) to add a comment.

Attachments: