Does winelib implement main()?

Dimitrie O. Paun dpaun at
Thu Feb 12 07:02:42 CST 2004

On February 12, 2004 06:39 am, Chris Seaton wrote:
> I'm linking to libwine, libkernel32.dll and libuser32.dll but there
> doesn't seem to be an implementation of main() anywhere so I get a
> "undefined reference to `main'" from "_start".

If you are building your app using winegcc (you should!),
make sure you pass it -mwindows. If it still doesn't work,
please let me know.


More information about the wine-devel mailing list