On September 11, 2002 11:02 am, Patrik Stridvall wrote:
It's a temporaray solution anyway: we need help from the compiler, writing a C parser (no, a gcc-C parser) is a lot of work.
Yes. I know I have tried. :-)
Me too. :))))
Mingw supports __declspec, Urlich, what would it take for the regular gcc to support it under Linux/ELF?
But what should it do? Just generate a special dllexport section that you can read with appropriate tools or what?
Exactly. If they put all information in a section that we can later parse, we're almost done.
But beyond that, we can *today* compile Wine with Mingw as PE. So what we need is a checkspec make target which would run your script, compile Wine as PE, extract what needs extracting from there, and compare results. This does not need to happen all the time, only from time to time by some people that (1) have Mingw installed, and (2) care to do it :).
True. However I still a little worried about the "stabillity" of the solution.
Why? This is as good of a verification method (no, even better) than what we have today.