Hi, Can you tell me if Wine is supported on Solaris 10? Regards Col
colcar08 wrote:> Hi, > > Can you tell me if Wine is supported on Solaris 10?It should compile at least. All depends on what hardware you are using. If it's not x86 then it won't do you any good.
Hi, I tried compiling it on Sparc based Solaris, but it says I need to implement wine_call_to_stack for my platform. I checked in the file /libs/wine/port.c and there is no implementation for Sparc based machines. Is there any patch out there or can anyone help me implement one? Regards Col
Sorry small correction the method should be wine_call_on_stack..
Hi, Thanks for the quick reply. Lets see if I get you.. If I have the source code available and I can get Wine to compile then I should be able to run my application as a winelib? In this case it is probably worth me putting in a bit of effort getting it to compile. Thanks again. Col
I'm also trying to compile Winelib on Solaris/Sparc. I've gotten around the wine_call_on_stack problem by inserting into libs/wine/port.c: Code: #elif defined(__sparc__) && defined(__GNUC__) __ASM_GLOBAL_FUNC( wine_call_on_stack, "") The next problem comes in the "dlls" subdirectory, where many, most, or all subprojects fail with something like: Code: ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./acledit.spec main.o -o acledit.dll.so -lkernel32 ../../libs/port/libwine_port.a -lresolv -lsocket -lnsl acledit.nkVmkL.s: Assembler messages: acledit.nkVmkL.s:152: Error: operation combines symbols in different segments acledit.nkVmkL.s:153: Error: operation combines symbols in different segments winebuild: gas failed with status 256 winegcc: ../../tools/winebuild/winebuild failed I found limited discussion about the second problem which pointed to a three-year-old patch ( http://www.winehq.org/pipermail/wine-devel/2005-December/043614.html ), which applies to tools/winebuild/import.c, but appears to bear no relevance to the current version of that file (perhaps I am mistaken on this point). Is there any more recent info on working with Solaris/Sparc? Has anyone successfully compiled it recently on that platform? Thanks in advance, Dave Riesz
austin987 wrote:> > Having had some issues when building Wine on Solaris x86, you may want > to check your gcc. In particular, recompile gcc with gnu > linker/assembler rather than sun's. > -- > -AustinWhoo. Rebuilding gcc isn't as easy as it used to be, but I'll give it a whack. Right now, I am using Sun's gcc/gas and native linker. 'gcc -v' reports: Code: Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs Configured with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) Dave Riesz
Hi, Thanks for the help..I inserted that piece of code that you mentioned: Code: #elif defined(__sparc__) && defined(__GNUC__) __ASM_GLOBAL_FUNC( wine_call_on_stack, "") I don't seem to get any problem with dlls, but I get the following output after I do a 'make depend && make': Code: `makedep' is up to date. gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -DWINE_UNICODE_API="" -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o port.o port.c /usr/ccs/bin/as: "<stdin>", line 21: error: unknown opcode ".previous" /usr/ccs/bin/as: "<stdin>", line 21: error: statement syntax /usr/ccs/bin/as: "<stdin>", line 28: error: unknown opcode ".previous" /usr/ccs/bin/as: "<stdin>", line 28: error: statement syntax *** Error code 1 make: Fatal error: Command failed for target `port.o' Current working directory /wine/wine-1.1.8/libs/wine *** Error code 1 The following command caused the error: cd wine && make make: Fatal error: Command failed for target `wine' Current working directory /wine/wine-1.1.8/libs *** Error code 1 The following command caused the error: cd libs && make make: Fatal error: Command failed for target `libs' Also my gcc version is: Code:> gcc -vReading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77 Thread model: posix gcc version 3.4.6 Can you help? Regards Col