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

Re: [MiNT] Crosscompilation weirdness



W dniu 03.12.2012 15:43, Vincent Rivière pisze:
On 03/12/2012 15:30, Adam Klobukowski wrote:
What is conftest?

If I'm not wrong, conftest is the name of the small test programs
compiled and run by configure scripts to autodetect the features of the
compilation environment.

This does not explain why Hatari stuff pops out of the box =-O

There is probably more information in your config.log.

Ok, I think I found the culprit:

$ file conftest
conftest: Atari ST M68K contiguous executable (txt=114088, dat=1628, bss=4308, sym=12997)

So it looks like ./configure uses host cc for tests. Adding --build=x86_64-unknown-linux-gnu solves the configure problem.

AdamK