qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] Introduce module API to QEMU


From: Paul Brook
Subject: Re: [Qemu-devel] [RFC] Introduce module API to QEMU
Date: Fri, 3 Apr 2009 15:10:16 +0000
User-agent: KMail/1.9.9

> > Yes, this does raise the question of how __attribute__((constructor))
> > works.  Maybe it's specific to new named sections?  Maybe I'm just
> > misremembering.  Anyway, whatever you come up with, testing on
> > Windows would be a good idea if you haven't already.
>
> I'm guessing it's just a C interface to C++ static constructors.  Since
> gcc supports C++ on Windows, I'd expect this to work.

It it has to, gcc will resort to using the equivalent of nm | grep on your 
object files to generate a list of constructors.

Paul




reply via email to

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