Aleksey Bragin wrote:
- .pspec file was also invented as a consistent way to be compatible
with different compilers. Winebuild generates stubs for entries marked as "stub", so it's quite controllable.
Usual .spec files are the ones processed by Winebuild. .pspec (= preprocessed .spec) is an "invention" of us and they are .spec files which are run through the C preprocessor first. Unfortunately, this isn't just cumbersome, but also means that we need to remove all comments from .pspec files, because the # character cannot be used for them anymore.
We introduced these .pspec files when we had no way of defining different exports for different architectures, but Winebuild supports an -arch=? flag for each architecture now. This should be the way to go.
Cheers,
Colin