On Dec 1, 2007 7:39 AM, Colin Finck mail@colinfinck.de wrote:
Hello,
For your information: As there were no more comments on this, I started working on a tool now, which transforms .spec files into both GNU and MSVC .def files. It will be based a bit on winebuild's code, but won't include all this stuff we don't need (code generation for non-PE compilers, 16-bit support, etc.), so it should become more lightweight and faster.
If someone still disagrees with such a solution, please do that now and explain why.
I think you need to add this feature to Winebuild and leave winebuild in place. The reason why is that winebuild has the ability to create ELF winelib binaries that are really contain the embedded PE dll. Using winebuild and the winelib binary format for port to other archtechtures should save you a lot of problems. I don't know much about the format of arty's work on PPC but I know winebuild already has the ability to generate PPC and SPARC winelib ELF binaries and ReactOS already contains an ELF loader. Extending a few APIs in ReactOS to actually teach it how to load the winelib dlls should save a lot of headaches because you would not need to hack much of a customer compiler for the new target platform. The PE target in gcc to my knowledge only exists still for i386/x86-64 and Arm/Xscale.
Thanks Steven