[Top][All Lists]

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

Re: [Qemu-devel] Re: [PATCH] Fix checksum writing in signboot.sh

From: Paolo Bonzini
Subject: Re: [Qemu-devel] Re: [PATCH] Fix checksum writing in signboot.sh
Date: Mon, 03 Aug 2009 08:12:00 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

Right. In fact we just switched from C to sh for portability reasons.

The problem is with cross compilers. Our build system is based around a
single tool chain and we only do feature probing, sanity checking,
cflags modifications, etc. on the target tool chain. If we build and run
a C program using the host compiler (which is needed in order to be able
to run the program), things get complicated quickly.

One hopes that you do not need feature tests for the build compiler if it is used for someting as simple as generating checksums. The build compiler should be just "cc" or "gcc".

That said, I don't think sh is a big problem.


reply via email to

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