Wine on Solaris 10
Wine on Solaris 10
Hi,
Can you tell me if Wine is supported on Solaris 10?
Regards
Col
Can you tell me if Wine is supported on Solaris 10?
Regards
Col
Re: Wine 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.colcar08 wrote:Hi,
Can you tell me if Wine is supported on Solaris 10?
Wine on Solaris 10, Sparc
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
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
Wine on Solaris 10, Sparc
Sorry small correction the method should be wine_call_on_stack..
Wine on Solaris 10
Hi!
to run native windows applications. So, even if you will be able to compile
wine on Sparc based system, it will not be usable for anything other than for
compiling a windows app from its source code to Sparc binary, running under the
winelib environment. Wine doesn't contain CPU emulator, and because M$ doesn't
have windows distribution for Sparc based systems, you cannot run Intel based
binaries there.
of such a thing.
As Vitamim already mentioned here, wine can be used only on x86 based platformsHi,
I tried compiling it on Sparc based Solaris, but it says I need to implement wine_call_to_stack for my platform.
to run native windows applications. So, even if you will be able to compile
wine on Sparc based system, it will not be usable for anything other than for
compiling a windows app from its source code to Sparc binary, running under the
winelib environment. Wine doesn't contain CPU emulator, and because M$ doesn't
have windows distribution for Sparc based systems, you cannot run Intel based
binaries there.
It's not there probably because nobody needed it yet, because of uselessnessI 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?
of such a thing.
With regards, Pavel TrollerRegards
Col
Wine on Solaris 10, Sparc
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
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
Wine on Solaris 10
Wrong from address...
---------- Forwarded message ----------
From: Gert van den Berg
Date: Tue, Nov 18, 2008 at 7:18 PM
Subject: Re: [Wine] Re: Wine on Solaris 10
To: [email protected]
On Tue, Nov 18, 2008 at 5:41 PM, colcar08 <[email protected]> wrote:
trouble it would be to port you application to winelib... (Things
written for certain compilers (like Borland's) are hard to port..)
(IIRC mingw32 is the first target that it need to be ported to...)
http://www.winehq.org/site/winelib and
http://www.winehq.org/site/docs/winelib-guide/index would probably
help to decide if it might be a feasible option...
Gert
---------- Forwarded message ----------
From: Gert van den Berg
Date: Tue, Nov 18, 2008 at 7:18 PM
Subject: Re: [Wine] Re: Wine on Solaris 10
To: [email protected]
On Tue, Nov 18, 2008 at 5:41 PM, colcar08 <[email protected]> wrote:
It might.... It is probably a better idea to start by seeing how muchHi,
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.
trouble it would be to port you application to winelib... (Things
written for certain compilers (like Borland's) are hard to port..)
(IIRC mingw32 is the first target that it need to be ported to...)
http://www.winehq.org/site/winelib and
http://www.winehq.org/site/docs/winelib-guide/index would probably
help to decide if it might be a feasible option...
Gert
Wine on Solaris 10
On Tue, Nov 18, 2008 at 5:41 PM, colcar08 <[email protected]> wrote:
trouble it would be to port you application to winelib... (Things
written for certain compilers (like Borland's) are hard to port..)
(IIRC mingw32 is the first target that it need to be ported to...)
http://www.winehq.org/site/winelib and
http://www.winehq.org/site/docs/winelib-guide/index would probably
help to decide if it might be a feasible option...
Gert
It might.... It is probably a better idea to start by seeing how muchHi,
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.
trouble it would be to port you application to winelib... (Things
written for certain compilers (like Borland's) are hard to port..)
(IIRC mingw32 is the first target that it need to be ported to...)
http://www.winehq.org/site/winelib and
http://www.winehq.org/site/docs/winelib-guide/index would probably
help to decide if it might be a feasible option...
Gert
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:
The next problem comes in the "dlls" subdirectory, where many, most, or all subprojects fail with something like:
I found limited discussion about the second problem which pointed to a three-year-old patch ( http://www.winehq.org/pipermail/wine-de ... 43614.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
Code: Select all
#elif defined(__sparc__) && defined(__GNUC__)
__ASM_GLOBAL_FUNC( wine_call_on_stack, "")
Code: Select all
../../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
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
Wine on Solaris 10
On Wed, Nov 19, 2008 at 3:38 PM, dpr <[email protected]> wrote:
to check your gcc. In particular, recompile gcc with gnu
linker/assembler rather than sun's.
--
-Austin
Having had some issues when building Wine on Solaris x86, you may wantI'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-de ... 43614.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
to check your gcc. In particular, recompile gcc with gnu
linker/assembler rather than sun's.
--
-Austin
Re: Wine on Solaris 10
Whoo. Rebuilding gcc isn't as easy as it used to be, but I'll give it a whack.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.
--
-Austin
Right now, I am using Sun's gcc/gas and native linker. 'gcc -v' reports:
Code: Select all
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)
Wine on Solaris 10
On Wed, Nov 19, 2008 at 3:58 PM, dpr <[email protected]> wrote:
thousands of build warnings:
warning: visibility attribute not supported in this configuration; ignored
I've got a feeling that may be a source of some of your issues as well.
--
-Austin
I haven't done so yet either. Wine still builds, but there areaustin987 wrote:Whoo. Rebuilding gcc isn't as easy as it used to be, but I'll give it a whack.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.
--
-Austin
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
thousands of build warnings:
warning: visibility attribute not supported in this configuration; ignored
I've got a feeling that may be a source of some of your issues as well.
--
-Austin
Wine on Solaris 10, Sparc
Hi,
Thanks for the help..I inserted that piece of code that you mentioned:
I don't seem to get any problem with dlls, but I get the following output after I do a 'make depend && make':
Also my gcc version is:
Can you help?
Regards
Col
Thanks for the help..I inserted that piece of code that you mentioned:
Code: Select all
#elif defined(__sparc__) && defined(__GNUC__)
__ASM_GLOBAL_FUNC( wine_call_on_stack, "")
Code: Select all
`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'
Code: Select all
> gcc -v
Reading 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
Regards
Col
Wine on Solaris 10, Sparc
Hi,
Just in case it wasn't clear I got the original problem with wine_call_on_stack resolved i.e. I don't get the error anymore..
Regards
Col
Just in case it wasn't clear I got the original problem with wine_call_on_stack resolved i.e. I don't get the error anymore..
Regards
Col
Wine on Solaris 10
On Thu, Nov 20, 2008 at 3:24 AM, colcar08 <[email protected]> wrote:
having a stub.
Just a guess though, you're out of my experience range
.
Wouldn't hurt to file a bug.
--
-Austin
You probably need to implement wine_call_on_stack, rather than justHi,
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:
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specsgcc -v
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
having a stub.
Just a guess though, you're out of my experience range

Wouldn't hurt to file a bug.
--
-Austin