On 2012-04-17 09:37, ma_golyo wrote: > I compiled it under x64 and the output is also x64, and used under x64 FB25. > > How I compile to get x32? > -m32 option gives me a bunch of errors :
You need i686 version of Firebird (to get 32-bit libfb_util.so) and 32-bit compatibility development libraries in your Linux distribution (so-called ia32-libs). The simpliest way is probably a parallel 32-bit Linux distribution (maybe in a virtual machine?) with 32-bit Firebird installed. Otherwise, it would be better to have some experience (or someone experienced ;) ) with cross-compiling from x86_64 to x86. A general hint: install 32-bit Firebird in a different location, use -L/firebird-32-location/lib and -m32 when compiling for x86, and -L/firebird-64-location/lib when compiling for x86_64. regards Tomasz -- __--==============================--__ __--== Tomasz Tyrakowski ==--__ __--== SOL-SYSTEM ==--__ __--== http://www.sol-system.pl ==--__ __--==============================--__
