From: Tagangout, A. <Abd...@me...> - 2010-09-21 16:12:27
|
Hi All, Which is the easiest version of Firebird to port? Many thanks Abdo |
From: marius a. p. <ma...@gm...> - 2010-09-22 05:51:32
|
On Tue, Sep 21, 2010 at 7:12 PM, Tagangout, Abderrahim <Abd...@me...> wrote: > Hi All, > > Which is the easiest version of Firebird to port? 3.0 is the easiest , see the previous mails for a few days with the port question ps: to port it on what os ? > > Many thanks > Abdo > > > ------------------------------------------------------------------------------ > 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 > > |
From: Paul R. <pr...@ib...> - 2010-09-22 07:02:39
|
On Wednesday 22 September 2010, marius adrian popa wrote: > On Tue, Sep 21, 2010 at 7:12 PM, Tagangout, Abderrahim > > <Abd...@me...> wrote: > > Hi All, > > > > Which is the easiest version of Firebird to port? > > 3.0 is the easiest , see the previous mails for a few days with the > port question > But it has not even been released in alpha yet - so what would be the point of that? I guess the question is whether it is best to start by porting 2.1 or 2.5. I don't know. Paul -- Paul Reeves http://www.ibphoenix.com Specialists in Firebird support |
From: Alex P. <pes...@ma...> - 2010-09-22 06:23:50
|
On 09/21/10 20:12, Tagangout, Abderrahim wrote: > Hi All, > > Which is the easiest version of Firebird to port? 3.0 requires less changes. On the other hand, it's very unstable. |
From: Tagangout, A. <Abd...@me...> - 2010-09-22 07:02:11
|
Thanks Alex, Sorry I am new to Firebird Developement. Which Version do you mean? the 2.5 one? Is it possible to port a new Architecture to Firebird? Like a new CPU Support? If yes, can you tell me please how it will be possible to do this or where to become Documentation for this? Many thanks to all who make it easy to do this. 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: Mittwoch, 22. September 2010 08:24 An: For discussion among Firebird Developers Betreff: Re: [Firebird-devel] Porting Firebird On 09/21/10 20:12, Tagangout, Abderrahim wrote: > Hi All, > > Which is the easiest version of Firebird to port? 3.0 requires less changes. On the other hand, it's very unstable. ------------------------------------------------------------------------------ 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 |
From: Tagangout, A. <Abd...@me...> - 2010-09-22 07:07:06
|
Hi Marius, first many thanks for replay. I want to port a new Architectur to Firebird. the AVR32 is an 32 Bit Processor and it doesn't supported yet from Firebird. The problem that i have at this moment is that i doesn't find any documentatation on how to port new Architecture to Firebird. the new CPU will become a client version of firebird. and on an other Computer the Server Version will be installed. So i will be glad for your replay. 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: marius adrian popa [mailto:ma...@gm...] Gesendet: Mittwoch, 22. September 2010 07:51 An: For discussion among Firebird Developers Betreff: Re: [Firebird-devel] Porting Firebird On Tue, Sep 21, 2010 at 7:12 PM, Tagangout, Abderrahim <Abd...@me...> wrote: > Hi All, > > Which is the easiest version of Firebird to port? 3.0 is the easiest , see the previous mails for a few days with the port question ps: to port it on what os ? > > Many thanks > Abdo > > > ---------------------------------------------------------------------- > -------- 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 > > ------------------------------------------------------------------------------ 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 |
From: Lester C. <le...@ls...> - 2010-09-22 07:38:25
|
Tagangout, Abderrahim wrote: > I want to port a new Architectur to Firebird. the AVR32 is an 32 Bit Processor and it doesn't supported yet from Firebird. > The problem that i have at this moment is that i doesn't find any documentatation on how to port new Architecture to Firebird. > the new CPU will become a client version of firebird. and on an other Computer the Server Version will be installed. > So i will be glad for your replay. If ALL you need on the AVR32 is the client, and you do not plan to run the server, then that should be a lot easier. The client is a lot more 'flexible' when it comes to talking to other versions of the server. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php |
From: Tagangout, A. <Abd...@me...> - 2010-09-22 07:43:20
|
Hi Lester Caine, many thanks for replay. fine, and how can i do this? where shall i start? 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: Lester Caine [mailto:le...@ls...] Gesendet: Mittwoch, 22. September 2010 09:38 An: For discussion among Firebird Developers Betreff: Re: [Firebird-devel] Porting Firebird Tagangout, Abderrahim wrote: > I want to port a new Architectur to Firebird. the AVR32 is an 32 Bit Processor and it doesn't supported yet from Firebird. > The problem that i have at this moment is that i doesn't find any documentatation on how to port new Architecture to Firebird. > the new CPU will become a client version of firebird. and on an other Computer the Server Version will be installed. > So i will be glad for your replay. If ALL you need on the AVR32 is the client, and you do not plan to run the server, then that should be a lot easier. The client is a lot more 'flexible' when it comes to talking to other versions of the server. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php ------------------------------------------------------------------------------ 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 |
From: marius a. p. <ma...@gm...> - 2010-09-22 07:52:26
|
On Wed, Sep 22, 2010 at 10:43 AM, Tagangout, Abderrahim <Abd...@me...> wrote: > Hi Lester Caine, > many thanks for replay. > fine, and how can i do this? > where shall i start? > many thanks > Abdo it's a linux os then you can see the patches from previous post with the examples on what is needed to enable a new architecture http://firebird.1100200.n4.nabble.com/How-can-i-porting-a-new-Architectur-in-Firebird-td2546655.html#a2546655 > > > 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: Lester Caine [mailto:le...@ls...] > Gesendet: Mittwoch, 22. September 2010 09:38 > An: For discussion among Firebird Developers > Betreff: Re: [Firebird-devel] Porting Firebird > > Tagangout, Abderrahim wrote: >> I want to port a new Architectur to Firebird. the AVR32 is an 32 Bit Processor and it doesn't supported yet from Firebird. >> The problem that i have at this moment is that i doesn't find any documentatation on how to port new Architecture to Firebird. >> the new CPU will become a client version of firebird. and on an other Computer the Server Version will be installed. >> So i will be glad for your replay. > > If ALL you need on the AVR32 is the client, and you do not plan to run the server, then that should be a lot easier. The client is a lot more 'flexible' > when it comes to talking to other versions of the server. > > -- > Lester Caine - G8HFL > ----------------------------- > Contact - http://lsces.co.uk/wiki/?page=contact > L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php > > ------------------------------------------------------------------------------ > 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 > > ------------------------------------------------------------------------------ > 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 > |
From: Tagangout, A. <Abd...@me...> - 2010-09-22 08:39:59
|
Many thanks for replay, I will do the Patches for porting this architecture to firebird, so which Parameter shall i give to "./autogen.sh" and "./configure" to build a client Library of firebird to be runing on a AVR32 Architecture. what is with Cross Compiling? shall i not need it? Abdo |
From: Alex P. <pes...@ma...> - 2010-09-22 11:08:44
|
On 09/22/10 12:39, Tagangout, Abderrahim wrote: > Many thanks for replay, > I will do the Patches for porting this architecture to firebird, so > which Parameter shall i give to "./autogen.sh" and "./configure" to build > a client Library of firebird to be runing on a AVR32 Architecture. Sorry, there is no client-only build. May be in 3.0... At least it will begin to build with creating client library. > what is with Cross Compiling? shall i not need it? Cross Compiling is a problem. This is primarily due to the fact that during the build we often need to run just created binaries. But if you need client-only on AVR, why not use pure Java client? As far as I can google about AVR, it has HW Java support, therefore Java client should work very good. Certainly, if you need native client port, feel free to ask more here:) But first of all let us know - to what operating system do you want to port firebird? I suppose it's linux, but please confirm. PS. Did you get my letter with samples of ports? Anyway you can find them in this list's archive. |
From: Tagangout, A. <Abd...@me...> - 2010-09-22 11:23:14
|
Hi Alex, yes i do become the sample of Port. many thanks. i will install the client version of firebird on this CPU (AVR32) wo run an embedded linux OS. so if i understand what you mean, i must compile a ClassicServer or SuperServer Version and link the Library libfbclient.so to the Application that will be running on the AVR32 Architecture? if so, how can i say to firebird, that the created library should include supporting the AVR32 Architecture? Or will this be maked with the Patches from the sample port that you replay on this Link "http://firebird.svn.sourceforge.net/viewvc/firebird?view=revision&revision=44997" ? sorry i'm now to Firebird. many thanks for your help Abdo -----Ursprüngliche Nachricht----- Von: Alex Peshkoff [mailto:pes...@ma...] Gesendet: Mittwoch, 22. September 2010 13:09 An: For discussion among Firebird Developers Betreff: Re: [Firebird-devel] Porting Firebird On 09/22/10 12:39, Tagangout, Abderrahim wrote: > Many thanks for replay, > I will do the Patches for porting this architecture to firebird, so > which Parameter shall i give to "./autogen.sh" and "./configure" to > build a client Library of firebird to be runing on a AVR32 Architecture. Sorry, there is no client-only build. May be in 3.0... At least it will begin to build with creating client library. > what is with Cross Compiling? shall i not need it? Cross Compiling is a problem. This is primarily due to the fact that during the build we often need to run just created binaries. But if you need client-only on AVR, why not use pure Java client? As far as I can google about AVR, it has HW Java support, therefore Java client should work very good. Certainly, if you need native client port, feel free to ask more here:) But first of all let us know - to what operating system do you want to port firebird? I suppose it's linux, but please confirm. PS. Did you get my letter with samples of ports? Anyway you can find them in this list's archive. ------------------------------------------------------------------------------ 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 |
From: Alex P. <pes...@ma...> - 2010-09-22 14:05:15
|
On 09/22/10 15:23, Tagangout, Abderrahim wrote: > Hi Alex, > yes i do become the sample of Port. many thanks. > i will install the client version of firebird on this CPU (AVR32) wo run an embedded linux OS. > so if i understand what you mean, i must compile a ClassicServer or SuperServer Version and link the Library libfbclient.so to the Application that will be running on the AVR32 Architecture? > Yes. And it should better be ClassicServer. One more detail - on debian's site I've found a notice that AVR32 does not support TLS. If that's true, even do not try with 2.5. Try 2.1, and build libfbemed - it can be used as client, and this is the last version which does not require TLS. > if so, how can i say to firebird, that the created library should include supporting the AVR32 Architecture? Or will this be maked with the Patches from the sample port that you replay on this Link "http://firebird.svn.sourceforge.net/viewvc/firebird?view=revision&revision=44997" ? yes it will be in similar patch that you will write |
From: Tagangout, A. <Abd...@me...> - 2010-09-22 14:42:47
|
Many thanks Alex, shoul i tape only: ./autogen.sh ./configure make or should i give the avr32-linux as parameter? Is that all what i need to compile the libraries that will support the AVR32 Architecture too? (with patch of course). many thanks Abdo -----Ursprüngliche Nachricht----- Von: Alex Peshkoff [mailto:pes...@ma...] Gesendet: Mittwoch, 22. September 2010 16:05 An: For discussion among Firebird Developers Betreff: Re: [Firebird-devel] Porting Firebird On 09/22/10 15:23, Tagangout, Abderrahim wrote: > Hi Alex, > yes i do become the sample of Port. many thanks. > i will install the client version of firebird on this CPU (AVR32) wo run an embedded linux OS. > so if i understand what you mean, i must compile a ClassicServer or SuperServer Version and link the Library libfbclient.so to the Application that will be running on the AVR32 Architecture? > Yes. And it should better be ClassicServer. One more detail - on debian's site I've found a notice that AVR32 does not support TLS. If that's true, even do not try with 2.5. Try 2.1, and build libfbemed - it can be used as client, and this is the last version which does not require TLS. > if so, how can i say to firebird, that the created library should include supporting the AVR32 Architecture? Or will this be maked with the Patches from the sample port that you replay on this Link "http://firebird.svn.sourceforge.net/viewvc/firebird?view=revision&revision=44997" ? yes it will be in similar patch that you will write ------------------------------------------------------------------------------ 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 |
From: Tagangout, A. <Abd...@me...> - 2010-09-22 16:21:17
|
Hi Alex, i have an other suggestion, you say that it is not possible to use the Cross Compiler to make the client library. the Problem is that i have a host compiler (Architecture i686) and i have to cross compile the Application for the embedded CPU. And when i try to compile the client library (Compiled with the Host compiler) with the Application (designed for the Cross compiler) i become a linker error. So is there any possibility to solve this problem? 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: Tagangout, Abderrahim [mailto:Abd...@me...] Gesendet: Mittwoch, 22. September 2010 16:43 An: 'For discussion among Firebird Developers' Betreff: Re: [Firebird-devel] Porting Firebird Many thanks Alex, shoul i tape only: ./autogen.sh ./configure make or should i give the avr32-linux as parameter? Is that all what i need to compile the libraries that will support the AVR32 Architecture too? (with patch of course). many thanks Abdo -----Ursprüngliche Nachricht----- Von: Alex Peshkoff [mailto:pes...@ma...] Gesendet: Mittwoch, 22. September 2010 16:05 An: For discussion among Firebird Developers Betreff: Re: [Firebird-devel] Porting Firebird On 09/22/10 15:23, Tagangout, Abderrahim wrote: > Hi Alex, > yes i do become the sample of Port. many thanks. > i will install the client version of firebird on this CPU (AVR32) wo run an embedded linux OS. > so if i understand what you mean, i must compile a ClassicServer or SuperServer Version and link the Library libfbclient.so to the Application that will be running on the AVR32 Architecture? > Yes. And it should better be ClassicServer. One more detail - on debian's site I've found a notice that AVR32 does not support TLS. If that's true, even do not try with 2.5. Try 2.1, and build libfbemed - it can be used as client, and this is the last version which does not require TLS. > if so, how can i say to firebird, that the created library should include supporting the AVR32 Architecture? Or will this be maked with the Patches from the sample port that you replay on this Link "http://firebird.svn.sourceforge.net/viewvc/firebird?view=revision&revision=44997" ? yes it will be in similar patch that you will write ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ 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 |
From: Alex P. <pes...@ma...> - 2010-09-23 06:53:32
|
On 09/22/10 20:21, Tagangout, Abderrahim wrote: > Hi Alex, > i have an other suggestion, > you say that it is not possible to use the Cross Compiler to make the client library. > the Problem is that i have a host compiler (Architecture i686) and i have to cross compile the Application for the embedded CPU. > And when i try to compile the client library (Compiled with the Host compiler) with the Application (designed for the Cross compiler) > i become a linker error. > So is there any possibility to solve this problem? Yes - if I can at least take a look at what error do you get :-) |
From: Alex P. <pes...@ma...> - 2010-09-23 06:52:27
|
On 09/22/10 18:42, Tagangout, Abderrahim wrote: > Many thanks Alex, > shoul i tape only: > ./autogen.sh > ./configure > make > or should i give the avr32-linux as parameter? No. If you build on AVR. What about crosses - sorry, I'm not strong with cross-builds. > Is that all what i need to compile the libraries that will support the AVR32 Architecture too? (with patch of course). > Certainly you may take a look at configure switches, but in general - yes, that's all. |
From: Tagangout, A. <Abd...@me...> - 2010-09-23 07:20:24
|
Hi Alex, this is the output that i become when i try: "./autogen.sh --build=i686 --host=avr32-linux --target=avr32-linux" "..... ..... checking if POSIX threads are available... configure: error: in `/home/abdo/Firebird-2.1.3.18185-0': configure: error: cannot run test program while cross compiling See `config.log' for more details." ############################################################################################################################## and when i try to links the library compiled for the i686 to generate an application that will be running on the target CPU (AVR32): "abdo@ubuntu804icnova:~/Desktop/firebird_api$ sudo make" "/home/abdo/ICnova/20090708-ICnova/ICnova/build_avr32/staging_dir/usr/bin/avr32-linux-gcc -L/usr/lib/ api3.o -o fb_api -lfbclient /home/abdo/ICnova/20090708-ICnova/ICnova/build_avr32/staging_dir/usr/bin/../lib/gcc/avr32-linux-uclibc/4.2.2/../../../../avr32-linux-uclibc/bin/ld: skipping incompatible /usr/lib//libfbclient.so when searching for -lfbclient /home/abdo/ICnova/20090708-ICnova/ICnova/build_avr32/staging_dir/usr/bin/../lib/gcc/avr32-linux-uclibc/4.2.2/../../../../avr32-linux-uclibc/bin/ld: cannot find -lfbclient collect2: ld returned 1 exit status make: *** [fb_api] Fehler 1" Many thanks for your replay 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 08:53 An: fir...@li... Betreff: Re: [Firebird-devel] Porting Firebird On 09/22/10 20:21, Tagangout, Abderrahim wrote: > Hi Alex, > i have an other suggestion, > you say that it is not possible to use the Cross Compiler to make the client library. > the Problem is that i have a host compiler (Architecture i686) and i have to cross compile the Application for the embedded CPU. > And when i try to compile the client library (Compiled with the Host > compiler) with the Application (designed for the Cross compiler) i become a linker error. > So is there any possibility to solve this problem? Yes - if I can at least take a look at what error do you get :-) ------------------------------------------------------------------------------ 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 |
From: Alex P. <pes...@ma...> - 2010-09-23 08:06:16
|
On 09/23/10 11:20, Tagangout, Abderrahim wrote: > Hi Alex, > this is the output that i become when i try: > "./autogen.sh --build=i686 --host=avr32-linux --target=avr32-linux" > "..... > ..... > checking if POSIX threads are available... configure: error: in `/home/abdo/Firebird-2.1.3.18185-0': > configure: error: cannot run test program while cross compiling > See `config.log' for more details." > > > ############################################################################################################################## > > and when i try to links the library compiled for the i686 to generate an application that will be running on the target CPU (AVR32): > "abdo@ubuntu804icnova:~/Desktop/firebird_api$ sudo make" > > "/home/abdo/ICnova/20090708-ICnova/ICnova/build_avr32/staging_dir/usr/bin/avr32-linux-gcc -L/usr/lib/ api3.o -o fb_api -lfbclient > /home/abdo/ICnova/20090708-ICnova/ICnova/build_avr32/staging_dir/usr/bin/../lib/gcc/avr32-linux-uclibc/4.2.2/../../../../avr32-linux-uclibc/bin/ld: skipping incompatible /usr/lib//libfbclient.so when searching for -lfbclient > /home/abdo/ICnova/20090708-ICnova/ICnova/build_avr32/staging_dir/usr/bin/../lib/gcc/avr32-linux-uclibc/4.2.2/../../../../avr32-linux-uclibc/bin/ld: cannot find -lfbclient > collect2: ld returned 1 exit status > make: *** [fb_api] Fehler 1" Bad news. Platform is missing threads support. You will not be able to build client w/o serious rework of it. The only option is to try 2.1 libfbembedded. It can work as client too. |
From: Tagangout, A. <Abd...@me...> - 2010-09-23 10:00:19
|
Hi all, Is it possible to make a connect to an Firebird database without the firebird client library? How it is possible to self programm the connection in the TCP/IP plane? because The AVR32 will not be supported from Firebird (Cross Compiling is not supported from Firebird). Best regards 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 10:06 An: For discussion among Firebird Developers Betreff: Re: [Firebird-devel] Porting Firebird On 09/23/10 11:20, Tagangout, Abderrahim wrote: > Hi Alex, > this is the output that i become when i try: > "./autogen.sh --build=i686 --host=avr32-linux --target=avr32-linux" > "..... > ..... > checking if POSIX threads are available... configure: error: in `/home/abdo/Firebird-2.1.3.18185-0': > configure: error: cannot run test program while cross compiling See > `config.log' for more details." > > > ###################################################################### > ######################################################## > > and when i try to links the library compiled for the i686 to generate an application that will be running on the target CPU (AVR32): > "abdo@ubuntu804icnova:~/Desktop/firebird_api$ sudo make" > > "/home/abdo/ICnova/20090708-ICnova/ICnova/build_avr32/staging_dir/usr/ > bin/avr32-linux-gcc -L/usr/lib/ api3.o -o fb_api -lfbclient > /home/abdo/ICnova/20090708-ICnova/ICnova/build_avr32/staging_dir/usr/b > in/../lib/gcc/avr32-linux-uclibc/4.2.2/../../../../avr32-linux-uclibc/ > bin/ld: skipping incompatible /usr/lib//libfbclient.so when searching > for -lfbclient > /home/abdo/ICnova/20090708-ICnova/ICnova/build_avr32/staging_dir/usr/b > in/../lib/gcc/avr32-linux-uclibc/4.2.2/../../../../avr32-linux-uclibc/ > bin/ld: cannot find -lfbclient > collect2: ld returned 1 exit status > make: *** [fb_api] Fehler 1" Bad news. Platform is missing threads support. You will not be able to build client w/o serious rework of it. The only option is to try 2.1 libfbembedded. It can work as client too. ------------------------------------------------------------------------------ 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 |
From: Enrico W. <we...@me...> - 2010-09-24 11:36:42
|
* Tagangout, Abderrahim <Abd...@me...> schrieb: > Hi Alex, > this is the output that i become when i try: > "./autogen.sh --build=i686 --host=avr32-linux --target=avr32-linux" > "..... You should use a sysroot'ed crosscompiler. Crosstool-NG [1] can create it for you. For the package build process (setting up sysroot's, handling dependencies, etc) you can use Briegel [2]. > ..... > checking if POSIX threads are available... configure: error: in `/home/abdo/Firebird-2.1.3.18185-0': > configure: error: cannot run test program while cross compiling > See `config.log' for more details." The configure.ac macros are misdesigned. It's the AC_TRY_RUN autoconf macro, which is conceptionally unusable for crosscompiling, since it's based on the dubious assumption that the building system is equal to the actual target system. (no, the optional fallback handling of AC_TRY_RUN is _NOT_ a solution, just an ugly, incomplete and not generically usable workaround). Solution: find the AC_TRY_RUN calls, find out what they actually should guess and replace them by better solutions that do NOT require running any binary code (built w/ the target toolchain), and does NOT try to guess anything from the building system. BTW: several years ago, I already tried to crosscompile fb, but this would have required fundamental changes in the build process, as it essentially required a running fb instance for building. (yeah, imaging that insanity ;-o). Didn't check if this still is the case yet. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: we...@me... mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- |
From: Enrico W. <we...@me...> - 2010-09-24 10:54:04
|
* Enrico Weigelt <we...@me...> schrieb: Sorry, forgot the links: [1] http://ymorin.is-a-geek.org/projects/crosstool [2] http://sourceforge.net/p/briegel/home/ cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: we...@me... mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ---------------------------------------------------------------------- |
From: Tagangout, A. <Abd...@me...> - 2010-09-23 08:16:00
|
Hi Alex, first manz thanks. so i must cross compile to take the libfbembed.so? sorry how can i take the libfbembed? Is the libfbembedded not Architectur related? 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 10:06 An: For discussion among Firebird Developers Betreff: Re: [Firebird-devel] Porting Firebird On 09/23/10 11:20, Tagangout, Abderrahim wrote: > Hi Alex, > this is the output that i become when i try: > "./autogen.sh --build=i686 --host=avr32-linux --target=avr32-linux" > "..... > ..... > checking if POSIX threads are available... configure: error: in `/home/abdo/Firebird-2.1.3.18185-0': > configure: error: cannot run test program while cross compiling See > `config.log' for more details." > > > ###################################################################### > ######################################################## > > and when i try to links the library compiled for the i686 to generate an application that will be running on the target CPU (AVR32): > "abdo@ubuntu804icnova:~/Desktop/firebird_api$ sudo make" > > "/home/abdo/ICnova/20090708-ICnova/ICnova/build_avr32/staging_dir/usr/ > bin/avr32-linux-gcc -L/usr/lib/ api3.o -o fb_api -lfbclient > /home/abdo/ICnova/20090708-ICnova/ICnova/build_avr32/staging_dir/usr/b > in/../lib/gcc/avr32-linux-uclibc/4.2.2/../../../../avr32-linux-uclibc/ > bin/ld: skipping incompatible /usr/lib//libfbclient.so when searching > for -lfbclient > /home/abdo/ICnova/20090708-ICnova/ICnova/build_avr32/staging_dir/usr/b > in/../lib/gcc/avr32-linux-uclibc/4.2.2/../../../../avr32-linux-uclibc/ > bin/ld: cannot find -lfbclient > collect2: ld returned 1 exit status > make: *** [fb_api] Fehler 1" Bad news. Platform is missing threads support. You will not be able to build client w/o serious rework of it. The only option is to try 2.1 libfbembedded. It can work as client too. ------------------------------------------------------------------------------ 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 |
From: Alex P. <pes...@ma...> - 2010-09-23 09:56:57
|
On 09/23/10 12:15, Tagangout, Abderrahim wrote: > Hi Alex, > first manz thanks. > so i must cross compile to take the libfbembed.so? You must cross-compile fb 2.1, not 2.5. You must build CS. > sorry how can i take the libfbembed? > Is the libfbembedded not Architectur related? It's architecture-related. This library contains full database engine, but what is interersting for you is that except other things it is also a client to another server. And it (before 2.5) is single-threaded, i.e. you do not need libpthread to build it. |
From: Tagangout, A. <Abd...@me...> - 2010-09-23 10:05:42
|
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? best regard. 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 11:57 An: For discussion among Firebird Developers Betreff: Re: [Firebird-devel] Porting Firebird On 09/23/10 12:15, Tagangout, Abderrahim wrote: > Hi Alex, > first manz thanks. > so i must cross compile to take the libfbembed.so? You must cross-compile fb 2.1, not 2.5. You must build CS. > sorry how can i take the libfbembed? > Is the libfbembedded not Architectur related? It's architecture-related. This library contains full database engine, but what is interersting for you is that except other things it is also a client to another server. And it (before 2.5) is single-threaded, i.e. you do not need libpthread to build it. ------------------------------------------------------------------------------ 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 |