Re: Patch to fix build without optimization

2003-09-19 Thread Pavel Roskin
On Thu, 18 Sep 2003, Shachar Shemesh wrote: > >I see two solutions. One is to link wine executable against kernel32.dll. > > > I don't think you can do that. As kernel32.dll requires ntdll, you would > create a real circular dependancy. Thanks for the reply. I see that some other patch has been

Re: Patch to fix build without optimization

2003-09-18 Thread Shachar Shemesh
Pavel Roskin wrote: Hello! I see two solutions. One is to link wine executable against kernel32.dll. I don't think you can do that. As kernel32.dll requires ntdll, you would create a real circular dependancy. Another is to use the low-level function interlocked_cmpxchg_ptr(), which is what

Patch to fix build without optimization

2003-09-17 Thread Pavel Roskin
Hello! Before I send it to wine-patches I'd like developers to look at it because it's an important issue and I'm not 100% sure that it's the best fix. I'm trying to compile CVS with without optimization and it fails: make[1]: Entering directory `/usr/local/src/wine/miscemu' gcc -o wine -Wl,--se