compiling Wine with GCC

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
User avatar
ChaosFurry
Level 1
Level 1
Posts: 6
Joined: Wed Jul 08, 2009 12:01 pm

compiling Wine with GCC

Post by ChaosFurry »

Hey,

A question of a Tux/Wine Newbie. There's a how-to using Xfire with wine in the appdb, I shall compile it from source using GCC-4.5. But I only know how to compile a single file with it or using the standard 'make' command, how it's shown in the Wine-Wiki. I googled for a tutorial, but didn't found anything. Can anyone help me with it giving a small help?

In thanks,
CF
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: compiling Wine with GCC

Post by dimesio »

ChaosFurry wrote: A question of a Tux/Wine Newbie. There's a how-to using Xfire with wine in the appdb, I shall compile it from source using GCC-4.5. But I only know how to compile a single file with it or using the standard 'make' command, how it's shown in the Wine-Wiki. I googled for a tutorial, but didn't found anything. Can anyone help me with it giving a small help?
http://wiki.winehq.org/FAQ#head-7ed3c31 ... 53dc41817b
User avatar
ChaosFurry
Level 1
Level 1
Posts: 6
Joined: Wed Jul 08, 2009 12:01 pm

Post by ChaosFurry »

I know the FAQ Part for this, but there's no help how I'm able to use gcc 4.5 instead of older version, and how I said, it's necessary to let Xfire run with Wine. I've installed gcc 4.5 out of the repos, but it seems he's still using the older version (Xfire is still not functional)
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

ChaosFurry wrote:I know the FAQ Part for this, but there's no help how I'm able to use gcc 4.5 instead of older version, and how I said, it's necessary to let Xfire run with Wine. I've installed gcc 4.5 out of the repos, but it seems he's still using the older version (Xfire is still not functional)
You can tell Wine to use different version of compiler this way:

Code: Select all

CC=gcc-4.5 ./configure && make
Locked