autoconf
[Top][All Lists]
Advanced

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

Re: cross compiling AC_CHECK_SIZEOF


From: Ralf Wildenhues
Subject: Re: cross compiling AC_CHECK_SIZEOF
Date: Fri, 1 Dec 2006 17:41:43 +0100
User-agent: Mutt/1.5.13 (2006-11-01)

Hello Bob,

* Bob Rossi wrote on Fri, Dec 01, 2006 at 05:39:02PM CET:
> 
> How does AC_CHECK_SIZEOF understand what values to give when cross
> compiling if it can't run the executable?

You're not curious enough to find out yourself?
Run a configure generated from
  AC_INIT
  AC_PROG_CC
  AC_CHECK_SIZEOF(int)

in cross-compiling mode, read config.log.

It's enlightening, if you don't know the technique yet.

Cheers,
Ralf




reply via email to

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