http://bugs.winehq.org/show_bug.cgi?id=20293
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2009-10-09 20:23:02 --- I wonder whether winegcc is using gcc rather than i386-pc-solaris2.10-gcc. Unfortunately I don't have any easy way to find out. If you're able to use and understand a debugger, try the following steps to run the debugger and find out:
$ cd tools/winegcc $ echo "int main(){return 0;}" > x.c $ gdb ./winegcc (gdb) b compile (gdb) run x.c
Then step a couple times: (gdb) n 310 strarray* comp_args = strarray_alloc(); (gdb) 314 strarray_addall(comp_args, get_translator(opts));
And look at the value of comp_args: (gdb) p *comp_args->base
Please report what it returns.