Re: Cross-compiling glib et al



On Thu, Nov 21, 2002 at 12:36:21PM +0000, Ross Burton wrote:
> There are several patches in bugzilla to fix this, many of which on
> #77565.  The last patch is very useful, as it reduces the number of
> execution attempts.
> 
> My command line at the moment to cross-compile is:
> 
> CPPFLAGS=-I/home/users/ross/tmp/Wasteland/include/
> LDFLAGS=-L/home/users/ross/tmp/Wasteland/lib/ ./autogen.sh
> --host=i586-mingw32msvc --with-libiconv --enable-maintainer-mode 
> --disable-static --enable-debug=yes
...
> checking for format to printf and scanf a guint64... configure: error:
> cannot run test program while cross compiling

You must prepare a config.cache with appropriate values for your
target system, as mentioned in #77565 (or use the environment):
  export glib_cv_long_long_format=ll    
  etc.


HTH,
Johannes



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