From: Alex P. <pes...@ma...> - 2010-09-23 10:21:51
|
On 09/23/10 14:05, Tagangout, Abderrahim wrote: > Hi Alex, > yes your are right, > but how can i do this? > seconde i need in the Target CPU only 4 or 5 funktions from the client library, like a connection to the database, read data from and disconnect. Is it possible to do this without all this work? Hmm... Somewhy I think this is more than 4 or 5 functions. But does not matter - performing this actions without firebird library is quite problematic. There is specific packets format, there is XDR protocol, there are messages (coming from server) format. The simplest way is to use Java client. But if it's not OK for you, may be the most realistic method is to: 1. build 2.1 on linux/x86 2. remove *.o and *.d files from tmp directory and it's subdirs 3. remove everything from gen/firebird/bin and gen/firebird/lib. 4. remove lines #if defined(HAVE_POSIX_THREADS) && defined(SUPERCLIENT) # define MULTI_THREAD #endif from src/include/firebird.h 5. using cross-compile environment cd gen make -f Makefile.libfbclient |