autoconf
[Top][All Lists]
Advanced

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

Re: AC_TRY_RUN and cross-compiling


From: Paul Eggert
Subject: Re: AC_TRY_RUN and cross-compiling
Date: Sun, 3 Mar 2002 14:32:36 -0800 (PST)

> From: Dan Kegel <address@hidden>
> Date: Sun, 03 Mar 2002 10:02:14 -0800
> 
> configure should have an option,
> --emit-try-run, which would generate and compile a C program
> which, when compiled and run, would output environment
> settings which could be used in future configure
> runs to suppress AC_TRY_RUN's.

Something like that might be nice, but it'd be a bit of work to
implement.  Among other things, you'd need the ability to do later
tests that depend on the results of earlier tests, which means you
need multiple round-trips to the target.

Instead of doing it by hand, though, why not define a procedure that
runs the executable on the target, using ssh (or whatever method you
like) from the build host?  That would avoid the need to transfer the
executables and results by hand.



reply via email to

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