Added support for APPMODE=<type>[:<mainFunc>]

Alexandre Julliard julliard at
Thu Jul 4 19:20:51 CDT 2002

Gregg Mattinson <gm138242 at> 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.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list