[Top][All Lists]

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

Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host

From: Jim C. Brown
Subject: Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host
Date: Sat, 18 Dec 2004 16:59:47 -0500
User-agent: Mutt/1.4i

On Sat, Dec 18, 2004 at 01:07:36PM -0800, John R. Hogerhuis wrote:
> On Sat, 2004-12-18 at 06:59, Johannes Schindelin wrote:
> The path of least resistance to get there would be to generate op.s
> files (using the necessary version of GCC) for all popular CPUs, and
> make them part of the build. Then those could be hand optimized over
> time as folks have the spare cycles to do it. This would remove specific
> gcc version dependencies from the build with little effort.

That works quite well for now. Of course, if qemu is suddenly ported to a new
CPU arch, then it is likely that the new op.s file needed would have to be
hand coded. Still, a reasonable compromise.

> Unless that's a GPL violation (distributing generated code under a
> non-GPL license)... don't know about that angle.

It is not. GPL only applies to derived code. Generated code is derivied from
what you right, not from the gcc source code, and thus the GPL doesn't apply
to it. So the op.s files would share the same copyright as the original op.c

> If that were the case,
> the only option along this line would be coding from scratch unless GPL
> is acceptable for the core. [QEMU uses mixed licensing and I don't have
> it straight in my head, sorry.]

QEMU uses BSD/MIT license for the system emulator.

It is qemu-user (the linux only one) which is GPL.

> -- John.
> _______________________________________________
> Qemu-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/qemu-devel

Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

reply via email to

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