2009/9/17 Pepeto <pepet...@free.fr>:
> Le mardi 15 septembre 2009 à 21:22 +0300, Marko Lindqvist a écrit :
>> 2009/9/15 pepeto:
>> >
>> > if someone tell
>> > me how to compile that win32 client on my computer.
>>  - Install mingw32
>>  - Get winstack-0.6.2.zip (stack of prebuilt libraries) from
>> http://www.cazfi.net/freeciv/builds/win.html and unzip it somewhere
>>  - See build instructions in the end of the same page
>>  - ML
> My complilation stops there:
> /bin/bash ../../../../libtool --preserve-dup-deps --tag=CXX
> --mode=link i586-mingw32msvc-g++  -Wall -Wpointer-arith -Wcast-align -g
> -O2   -o tolua.exe toluaxx.bind.o main.o help.o
> parsecmd.o ../../../../dependencies/lua-5.1/src/liblua.a ../lib/libtolua.a 
> -lm -lz  ~/winstack-0.6.2//lib/libiconv.dll.a -L~/winstack-0.6.2//lib 
> -lwsock32
> libtool: link: i586-mingw32msvc-g++ -Wall -Wpointer-arith -Wcast-align
> -g -O2 -o tolua.exe toluaxx.bind.o main.o help.o
> parsecmd.o  ../../../../dependencies/lua-5.1/src/liblua.a ../lib/libtolua.a 
> -lz ~/winstack-0.6.2//lib/libiconv.dll.a -L~/winstack-0.6.2//lib -lwsock32
> parsecmd.o: file not recognized: File format not recognized
> collect2: ld returned 1 exit status

 Are you reusing old build dir? Did you 'make clean' before this build?

 I shoul warn you about one cross-compilation problem Freeciv has. You
cannot cross-compile clean svn checkout. Toluaxx gets cross-compiled,
but native toluaxx is required in order to generate
server/scripting/api_gen.[ch]. You have to first generate api_gen.[ch]
to your src dir and only then cross-compile Freeciv.
 In my setup I have native build dirs and cross-compile build dirs
using same src dir. Building in native buil dirs generates
api_gen.[ch] to src dir and after that also cross-compile build dirs

 - ML

Freeciv-dev mailing list

Reply via email to