[Mono-dev] Problems Building Mono on Windows

Jim Purbrick jimpurbrick at yahoo.co.uk
Fri Jan 6 12:24:04 EST 2006

Hi Everyone,

I'm currently trying to build Mono on Windows XP
following Kevin Shockey's OnDotNet instructions
and using cygwin installed from the Monowin CD, but
I'm getting a "gcc: cannot specify -o with -c or -S
and multiple compilations" error when I try to build
either Mono- or Mono- if anyone could
help me out I'd appreciate it. The full error message
is shown below.

I've built Mono on Windows a number of times
previously and not seen this error, but I've just had
to reinstall Windows and Mono after a hard drive
failure, so there may be something wrong with my set
up now.

Thanks for you help and happy new year!


 gcc -mno-cygwin -g -DHAVE_CONFIG_H -I. -I. -I../..
-I../.. -I../../mono -I../..
/libgc/include Files/Mono-
-2.0/include -Ic:/Program
Files/Mono- Files/Mono-1.1.12
.1/lib/glib-2.0/include -Ic:/Program
-I/usr/local/include -DWIN32_THREADS -DFD_S
ETSIZE=1024 -g -O2 -fno-strict-aliasing -g -Wall
-Wunused -Wmissing-prototypes -
Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings -MT mono-hash.lo -MD
 -MP -MF .deps/mono-hash.Tpo -c mono-hash.c  -DPIC -o
gcc: cannot specify -o with -c or -S and multiple compilations

Yahoo! Exclusive Xmas Game, help Santa with his celebrity party - http://santas-christmas-party.yahoo.net/

More information about the Mono-devel-list mailing list