Hi, The problem is most likely the spaces in the directory names which confuse the shell and/or gcc.
Zoltan On 1/6/06, Jim Purbrick <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > I'm currently trying to build Mono on Windows XP > following Kevin Shockey's OnDotNet instructions > (http://www.ondotnet.com/pub/a/dotnet/2005/02/07/monowindows.html) > 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-1.1.9.2 or Mono-1.1.12.1 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! > > Jim. > > gcc -mno-cygwin -g -DHAVE_CONFIG_H -I. -I. -I../.. > -I../.. -I../../mono -I../.. > /libgc/include Files/Mono-1.1.12.1/include/glib-2.0 > Files/Mono-1.1.12.1/lib/glib > -2.0/include -Ic:/Program > Files/Mono-1.1.12.1/include/glib-2.0 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 > .libs/mono-hash.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/ > _______________________________________________ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list