http://bugs.winehq.org/show_bug.cgi?id=26614
--- Comment #4 from Ken Sharp kennybobs@o2.co.uk 2011-04-01 15:19:47 CDT --- (In reply to comment #3)
So configuring with --host=arm is just not the right way to go, but e.g. something like --host=arm-linux-gnueabi.
Indeed I tried that exactly for that reason.
../../libs/port/libwine_port.a: could not read symbols: Archive has no index; run ranlib to add one
It fails much sooner.
CC="arm-linux-gnueabi-gcc-4.5" CXX="arm-linux-gnueabi-g++-4.5" CFLAGS="-g -O0" CXXFLAGS="-g -O0" ~/wine-git/configure --host=arm-linux-gnueabi \ --with-wine-tools=../wine32 --disable-tests --without-jack
From the Makefile:
AR = arm-linux-gnueabi-ar
$ arm-linux-gnueabi-ar --version GNU ar (GNU Binutils for Ubuntu) 2.20.51.20100908
$ arm-linux-gnueabi-gcc --version arm-linux-gnueabi-gcc (Ubuntu/Linaro 4.5.1-7ubuntu1) 4.5.1
Will keep looking...