On Apr 21, 2000, Mo DeJong <[EMAIL PROTECTED]> wrote:
> So if it should have been "internal" then why do I need to add the
> AC_CANONICAL_BUILD macro to my configure.in file to get cross
> compiling to work?
You'd use AC_CANONICAL_SYSTEM.
> In looking at the source, I also came across this AC_CHECK_TOOL_PREFIX
> macro which seems to be doing exactly what I want, running the
> host and build check and then comparing the host and the build.
Indeed. Stupid me, this macro didn't occur to me :-(
> Problem is, it not seem to work. It looks for the right compiler
> but it does not actually use it.
Is CXX set in your environment?
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me