compile wine with icc

Tomas Carnecky tom at dbservice.com
Sat Oct 22 16:42:57 CDT 2005


Dan Kegel wrote:
> On 10/16/05, Tomas Carnecky <tom at dbservice.com> wrote:
> 
>>I'm getting some errors when compiling wine which I was able to fix, but
>>  World of Warcraft won't start... Will icc be supported at some time in
>>the furure?
> 
> 
> Maybe, especially if people who want it supported pitch in
> by running the Wine regression tests and reporting any problems.
> 

as icc has other cmd-line options, the compiler spits out lots of 
warnings, like this one:

icc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-DNO_LIBWINE_PORT -DWINE_UNICODE_API="" -D_REENTRANT -fPIC -Wall -pipe 
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ 
-Wdeclaration-after-statement -Wpointer-arith  -g -O2  -o sortkey.o 
sortkey.c
iccbin: Command line warning: ignoring option '-mp'; no argument required
iccbin: Command line warning: ignoring option '-g'; no argument required
iccbin: Command line warning: ignoring option '-W'; no argument required

futhermore, lots of compiler warnings a la:
../../include/wine/unicode.h(106): remark #810: conversion from "int" to 
"WCHAR={unsigned short}" may lose significant bits
       return ch + wine_casemap_lower[wine_casemap_lower[ch >> 8] + (ch 
& 0xff)];
relay.c(178): remark #1684: conversion from pointer to same-sized 
integral type (potential portability problem)
       fprintf( outfile, "\t.byte 0x64\n\tmovw %%sp, (%d)\n", STACKOFFSET );

and much more...

and finally fails on file dlls/kernel/thread.c with:
/tmp/iccbinN9FwHFas_: Assembler messages:
/tmp/iccbinN9FwHFas_:2812: Error: symbol `SetLastError' is already defined
/tmp/iccbinN9FwHFas_:2840: Error: symbol `GetCurrentThreadId' is already 
defined

tom



More information about the wine-devel mailing list