[Mono-dev] Problems Building Mono 188.8.131.52 on Windows
vargaz at gmail.com
Fri Jan 6 12:47:45 EST 2006
The problem is most likely the spaces in the directory names which confuse
the shell and/or gcc.
On 1/6/06, Jim Purbrick <jimpurbrick at yahoo.co.uk> wrote:
> 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-184.108.40.206 or Mono-220.127.116.11 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-18.104.22.168/include/glib-2.0
> -2.0/include -Ic:/Program
> Files/Mono-22.214.171.124/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
> 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 at lists.ximian.com
More information about the Mono-devel-list