how to cross compile kexec for 64b x86_64 on a 32b x86

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

 



* "Srinivas Dharmasanam" <the.srinivas at gmail.com> [2008-06-24 11:46]:
>
> Tried that; it fails saying:
> 
> checking for gcc...
> /gcc-3.4.5-glibc-2.3.6/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... configure: error: cannot run
> C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.

Ah, right, try

  ./configure \
      --host=x86_64-unknown-linux-gnu
      --build=x86_64-unknown-linux-gnu

> I dont see a conftest.c file anywhere.

Read config.log. It's "inline", the conftest.c gets deleted on very
check.


Bernhard
-- 
Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux