[Wine] Compiling on AMD64 with a cross-compiler
Fabrice DELENTE
fdelente at mail.cpod.fr
Wed Jul 2 13:18:08 CDT 2008
Hello.
I'm still trying to get the latest (post 0.9.60) wine releases to build on
my laptop; it is a SlAMD64 installation.
I used to compile ok up to 0.9.60; then from 0.9.61 on it refused to
compile.
I tried lately to compile this way:
CFLAGS="-I/test/alsa/lib32/include" \
LDFLAGS="-L/usr/lib -Wl,-rpath-link,/usr/lib -L/test/alsa/lib32/lib -Wl,-rpath-link,/test/alsa/lib32/lib" \
CC=/test/crossgcc/results/gcc-4.1.0-glibc-2.3.6/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-gcc\
CXX=/test/crossgcc/results/gcc-4.1.0-glibc-2.3.6/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-g++\
$NICE ./configure --prefix=/usr/local/$WINEVERSION --x-libraries=/usr/lib --build=i686 --host=i686 $*
I have my 32-bits compatibility libs in /usr/lib, and I self-compiled alsa
with a cross-compiler in 32-bits mode, which I installed in /test/alsa/lib32.
As I said, it used to work ok, but now it aborts with
make[2]: Entering directory /usr/local/testSpace/wine-1.1.0/dlls/acledit'
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./acledit.spec main.o -o acledit.dll.so -lkernel32 ../../libs/port/libwine_port.a -L/usr/lib -Wl,-rpath-link,/usr/lib -L/test/alsa/lib32/lib -Wl,-rpath-link,/test/alsa/lib32/lib
ld: Relocatable linking with relocations from format elf32-i386 (main.o) to format elf64-x86-64 (acledit.merhrY.o) is not supported
winebuild: ld -r failed with status 256
winegcc: ../../tools/winebuild/winebuild failed
Does anyone have a hint to solve this kind of thing?
Thanks.
--
Fabrice DELENTE
More information about the wine-users
mailing list