You are not logged in.

#1 2010-08-01 17:50:19

Makro
Member
Registered: 2010-02-10
Posts: 3

How to install gcc and something around compiling

Hi all.I want compile my wine with patchs but I can´t compile it sad

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking whether gcc -m32 works... no
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.

I have to install some 32-bit libraries.but idk what librarions.Thanks for reply


Desktop:
CPU: Intel Q6600 @ 3,3GHZ VGA: nVidia GTX260 216sp RAM: A-Data 2x4GB DDR3 1333mhz MTB: MSI P43-C51 PSU: Fortron 650W 80+ COL: AC Freezer Xtreme HDD: WD Caviar Green 500GB 7200rpm LCD: Samsung SyncMaster 2233 OS: Gentoo Linux 2.6.34-r12 amd64

Offline

#2 2010-08-01 17:56:54

BinkyTheClown
Member
From: The Circus
Registered: 2008-06-11
Posts: 85
Website

Re: How to install gcc and something around compiling

You need to compile wine from a 32-bit environment, as the error suggests, so you could create a 32-bit chroot for it: http://wiki.archlinux.org/index.php/Arc … bit_system


Heeeeeey cat!!!

Offline

#3 2010-08-01 18:23:20

Makro
Member
Registered: 2010-02-10
Posts: 3

Re: How to install gcc and something around compiling

wtf ? I want 64 bit wine.
or on 64bit linux is only native support of 32bit wine ?
I have x86_64 architecture

Last edited by Makro (2010-08-01 18:24:03)


Desktop:
CPU: Intel Q6600 @ 3,3GHZ VGA: nVidia GTX260 216sp RAM: A-Data 2x4GB DDR3 1333mhz MTB: MSI P43-C51 PSU: Fortron 650W 80+ COL: AC Freezer Xtreme HDD: WD Caviar Green 500GB 7200rpm LCD: Samsung SyncMaster 2233 OS: Gentoo Linux 2.6.34-r12 amd64

Offline

#4 2010-08-01 18:51:46

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: How to install gcc and something around compiling

So, as the name implies, Wine Is Not an Emulator.  If you compile a 64 bit version of wine, it will only be capable of running 64-bit Windows applications.  Since almost every program for Windows is 32-bit, you need a 32 bit binary of wine.  Also, is there any particular reason you are not using the version in the repositories?  (Even on x86_64, the "wine" package in pacman has the 32 bit version).

Offline

#5 2010-08-01 18:56:37

Makro
Member
Registered: 2010-02-10
Posts: 3

Re: How to install gcc and something around compiling

I have now wine from repositary.but I want install 2 wine patches.and I think fot this I need custom build of wine


Desktop:
CPU: Intel Q6600 @ 3,3GHZ VGA: nVidia GTX260 216sp RAM: A-Data 2x4GB DDR3 1333mhz MTB: MSI P43-C51 PSU: Fortron 650W 80+ COL: AC Freezer Xtreme HDD: WD Caviar Green 500GB 7200rpm LCD: Samsung SyncMaster 2233 OS: Gentoo Linux 2.6.34-r12 amd64

Offline

#6 2010-08-01 19:04:52

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: How to install gcc and something around compiling

If you really need to, I think the best way might be to install a 32-bit chroot and install the 32-bit version of gcc inside of it, which will then be able to compile 32-bit programs.  Seems like it might be a bit of a hassle though sad.

Offline

#7 2010-08-01 19:07:26

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: How to install gcc and something around compiling

get wine from abs and see how is done


Give what you have. To someone, it may be better than you dare to think.

Offline

Board footer

Powered by FluxBB