[Mono-list] Building mono on cygwin

Piers Haken piersh@friskit.com
Sat, 30 Mar 2002 05:29:24 -0800

Can someone help me to build the runtime on mono?
I'm not having much luck with the instructions on the site.

Right now I'm getting the following error:

gcc -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wshadow
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -mno-cygwin -o
pedump.exe -Wl,--export-dynamic ../io-layer/libwapi.a
../utils/libmonoutils.a -L/usr/local/lib -lglib-1.3 -liconv -lintl
-lgmodule-1.3 -lws2_32
/usr/lib/mingw/libmingw32.a(main.o)(.text+0xaf):main.c: undefined
reference to `WinMain@16'
collect2: ld returned 1 exit status

Any ideas?