Gregg Mattinson gm138242@scot.canada.sun.com writes:
- .spec files can't be compiled with -g when using Forte C. This causes static
variables to have a "random" prefix attached to their name, and prevents the assembly code from linking to them correctly.
- Forte C has linker issues, so cui executables with main() conflicted with
main() in $WINELOADER. Renaming main() to main2() solved the issue, so I added support to winebuild to allow the main function name to be optionally specified in the makefile.
I have applied the rest of the patch, but these are bugs that need to be fixed, not simply worked around.