From: Tagangout, A. <Abd...@me...> - 2010-09-23 11:28:13
|
Hi Alex, so the build process is complete, and all directories from /temp are deleted, /gen/firebird/bin/* like so ../lib/* are deleted. and when i try to cross compile i become this: abdo@ubuntu804icnova:~/Firebird-2.1.3.18185-0/gen$ make -f Makefile.libfbclient g++ -DSUPERCLIENT -pthread -I../src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan -I../extern/icu/source/common -I../extern/icu/source/i18n -DNDEBUG -ggdb -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -pipe -MMD -fPIC -fmessage-length=0 -O3 -march=i586 -mcpu=i686 -fno-omit-frame-pointer -fno-builtin -DPROD_BUILD -c ../src/jrd/alt.cpp -o ../temp/superclient/jrd/alt.o `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. Assembler messages: Fatal error: can't create ../temp/superclient/jrd/alt.o: No such file or directory make: *** [../temp/superclient/jrd/alt.o] Fehler 2 abdo@ubuntu804icnova:~/Firebird-2.1.3.18185-0/gen$ can you see any mistakes? many thanks Abdo MEP Kutsch GmbH & Co. KG Flaßkuhle 1 58452 Witten Tel. : 02302 28262-41 Fax.: 02302 28262-99 mailto:abd...@me... http://www.mep.de -----Ursprüngliche Nachricht----- Von: Alex Peshkoff [mailto:pes...@ma...] Gesendet: Donnerstag, 23. September 2010 12:22 An: fir...@li... Betreff: Re: [Firebird-devel] Porting Firebird 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 ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel |