This is the mail archive of the autoconf@gnu.org mailing list for the autoconf project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

cross compilation


Here's another cross-compilation weirdness: in some situations the
compiler in use can't actually link an executable.  This can happen
when building target libraries.  Some code I have here has this
comment:

# FIXME: We temporarily define our own version of AC_PROG_CC.  This is
# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
# are probably using a cross compiler, which will not be able to fully
# link an executable.  This should really be fixed in autoconf
# itself.

It would be nice to find a way to fix this.  For instance, if we know
we are cross-compiling (from the command-line arguments), then we
could just not run the body of AC_PROG_CC_WORKS.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]