Hello all.
Not often do I ask a question myself, but here's one:
How do I know which compile flags (and/or compiler toolkit) were used to build a wine binary that I may have? I'm asking this question because, somehow, my own compiled version of Wine can't run an application, even though binaries that I grabbed from packages for other distros do work: flawlessly, in fact.
I can live with restraining those "custom binaries" in their own dusty little folders, but I'd like to know why something that other people build works and something I don't doesn't. The only thing that configure tells me is that it can't find OpenCL, libsane, OSSv4 and libcapi20, which shouldn't make any difference. My guess is that it's the compiler messing up (GCC 4.4.5).
Cheers, and thanks,
Jorl17
Note: Of course I know I can go and ask those in charge of packaging these binaries how they built it, but I decided to ask just in case.
Get configuration flags
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
Re: Get configuration flags
That is if you don't use those features.jorl17 wrote:Hello all.
I can live with restraining those "custom binaries" in their own dusty little folders, but I'd like to know why something that other people build works and something I don't doesn't. The only thing that configure tells me is that it can't find OpenCL, libsane, OSSv4 and libcapi20, which shouldn't make any difference. My guess is that it's the compiler messing up (GCC 4.4.5).
What is NOT working on your build but is on the package distribution builds?
James
Football Manager 2012 crashes, with something related to Berkelium.dll. Berkelium provides offscreen browser rendering via chromium. I can't even get a trace (just like a bug reported on the Demo page)
I read on the AppDB that people were managing to get the app running in Ubuntu. Then I realized (googled) that other people were also managing to get it to run, even though some of us were stuck with this error. After many attempts at many things, I just thought: "hey, let me grab Slackware's package and hack it in here. I was jumping around at 3AM, just about 35 minutes ago, as it worked.
I really think that it is probably related to something that the compiler is doing. These flags don't seem to matter that much, though I can go fetch the libraries anyway. It's also strange, because all other apps run perfectly with Wine. Also, I see this in two similar machines (32-bit and 64-bit, both running Gentoo). My next step will probably be installing Wine from Gentoo's repositories (hence, compiled by the same compiler) and see if that works.
Cheers,
Jorl17
I read on the AppDB that people were managing to get the app running in Ubuntu. Then I realized (googled) that other people were also managing to get it to run, even though some of us were stuck with this error. After many attempts at many things, I just thought: "hey, let me grab Slackware's package and hack it in here. I was jumping around at 3AM, just about 35 minutes ago, as it worked.
I really think that it is probably related to something that the compiler is doing. These flags don't seem to matter that much, though I can go fetch the libraries anyway. It's also strange, because all other apps run perfectly with Wine. Also, I see this in two similar machines (32-bit and 64-bit, both running Gentoo). My next step will probably be installing Wine from Gentoo's repositories (hence, compiled by the same compiler) and see if that works.
Cheers,
Jorl17
Re: Get configuration flags
Short of asking packager - this is no way. Even source package (ex .srpm) won't tell you about default distro flags for gcc.jorl17 wrote:How do I know which compile flags (and/or compiler toolkit) were used to build a wine binary that I may have?
Re: Get configuration flags
Some programs sum up what compilation flags were used to build them,vitamin wrote:Short of asking packager - this is no way. Even source package (ex .srpm) won't tell you about default distro flags for gcc.jorl17 wrote:How do I know which compile flags (and/or compiler toolkit) were used to build a wine binary that I may have?
see for example gcc -v.
Get configuration flags
On Mon, 2011-12-19 at 21:26 -0600, jorl17 wrote:
of course it won't show distro-specific settings, if there are any,
unless an auto-configuration tool added them.
Martin
Did you look at the Makefile? Its quite an obvious place to look, thoughHow do I know which compile flags (and/or compiler toolkit) were used
to build a wine binary that I may have?
of course it won't show distro-specific settings, if there are any,
unless an auto-configuration tool added them.
Martin
Re: Get configuration flags
Unfortunately Wine is not one of them... Which is a shame, it would have helped with some troubleshooting.Usurp wrote:Some programs sum up what compilation flags were used to build them