Re: [Firebird-devel] ? Firebird 3 embedded om iOS?

2018-08-01 Thread Svend Meyland Nicolaisen


> Den 30. jul. 2018 kl. 11.19 skrev Paul Beach :
> 
> 
>>> Thank you very much for the answer. Adrian Marius Popa wrote in 
>>> October a blog post regarding Firebird 3 (and 2.5) on iOS: 
>>> https://mapopa.blogspot.com/2017/10/firebird-3-on-apple-ios.html?m=1
>>> 
>>> The blog post contains little information other than that it is 
>>> possible. For technical details it refers the reader to this mailing 
>>> list. It does though say that the Mac OS X release of Firebird 3.0.3 
>>> contains a Mach-O dynamically linked shared library for arm_v7 that 
>>> can be used on iOS.
>>> 
>>> I would like to work on getting Firebird 3 running on iOS. Can anyone 
>>> give some clues to get me started?
>>> 
>> 
>> First of all you need a tool to perform cross build of firebird (suppose 
>> ideal host platform is Mac). There is a sample of cross building FB on 
>> linux for android. It has 2 key files - builds/posix/make.android.arme 
>> (mentioned in ./configure command line as 
>> --with-cross-build=android.arme) which defines in 
>> CROSS_CONFIG=android.arme seconf key file 
>> src/include/cross/android.arme. You should create replacement of this 
>> files for iOS on arm_v7 and after is start cross-build. Pay attention 
>> that first of all almost full build for host is done in order to be able 
>> to run FB tools needed for the build. After it set of target binaries is 
>> built.
> 
> The specific command line I used when I was looking at this last was 
> /Users/pbeach/icu54/icu/source/configure --host=arm-apple-darwin 
> --enable-static --disable-shared 
> -with-cross-build=/Users/pbeach/icu54/icu/armBuild
> 
> If you want my autconfig file for arm_v7 ask.
> 
> Paul
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel

But this is for the icu library will it work for Firebird 3 too?

Your autconfig file for arm_v7 would be very appreciated. 

Kind regards,
Svend

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] ? Firebird 3 embedded om iOS?

2018-08-01 Thread Paul Beach
> > > Thank you very much for the answer. Adrian Marius Popa wrote in 
> > > October a blog post regarding Firebird 3 (and 2.5) on iOS: 
> > > https://mapopa.blogspot.com/2017/10/firebird-3-on-apple-ios.html?m=1
> > >
> > > The blog post contains little information other than that it is 
> > > possible. For technical details it refers the reader to this mailing 
> > > list. It does though say that the Mac OS X release of Firebird 3.0.3 
> > > contains a Mach-O dynamically linked shared library for arm_v7 that 
> > > can be used on iOS.
> > >
> > > I would like to work on getting Firebird 3 running on iOS. Can anyone 
> > > give some clues to get me started?
> > >
> > 
> > First of all you need a tool to perform cross build of firebird (suppose 
> > ideal host platform is Mac). There is a sample of cross building FB on 
> > linux for android. It has 2 key files - builds/posix/make.android.arme 
> > (mentioned in ./configure command line as 
> > --with-cross-build=android.arme) which defines in 
> > CROSS_CONFIG=android.arme seconf key file 
> > src/include/cross/android.arme. You should create replacement of this 
> > files for iOS on arm_v7 and after is start cross-build. Pay attention 
> > that first of all almost full build for host is done in order to be able 
> > to run FB tools needed for the build. After it set of target binaries is 
> > built.
> 
> The specific command line I used when I was looking at this last was 
> /Users/pbeach/icu54/icu/source/configure --host=arm-apple-darwin 
> --enable-static --disable-shared 
> -with-cross-build=/Users/pbeach/icu54/icu/armBuild

Note this was when Apple insisted on static linking for ios and I was trying to 
see if
a static build of Firebird was possible (it isn't) nowadays AFAIR dynamic
linking is now allowed and I did manage to build 2.5 dynamically for ios.

So you can remove  --enable-static --disable-shared

Regards
Paul

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] ? Firebird 3 embedded om iOS?

2018-08-01 Thread Paul Beach


> > Thank you very much for the answer. Adrian Marius Popa wrote in 
> > October a blog post regarding Firebird 3 (and 2.5) on iOS: 
> > https://mapopa.blogspot.com/2017/10/firebird-3-on-apple-ios.html?m=1
> >
> > The blog post contains little information other than that it is 
> > possible. For technical details it refers the reader to this mailing 
> > list. It does though say that the Mac OS X release of Firebird 3.0.3 
> > contains a Mach-O dynamically linked shared library for arm_v7 that 
> > can be used on iOS.
> >
> > I would like to work on getting Firebird 3 running on iOS. Can anyone 
> > give some clues to get me started?
> >
> 
> First of all you need a tool to perform cross build of firebird (suppose 
> ideal host platform is Mac). There is a sample of cross building FB on 
> linux for android. It has 2 key files - builds/posix/make.android.arme 
> (mentioned in ./configure command line as 
> --with-cross-build=android.arme) which defines in 
> CROSS_CONFIG=android.arme seconf key file 
> src/include/cross/android.arme. You should create replacement of this 
> files for iOS on arm_v7 and after is start cross-build. Pay attention 
> that first of all almost full build for host is done in order to be able 
> to run FB tools needed for the build. After it set of target binaries is 
> built.

The specific command line I used when I was looking at this last was 
/Users/pbeach/icu54/icu/source/configure --host=arm-apple-darwin 
--enable-static --disable-shared 
-with-cross-build=/Users/pbeach/icu54/icu/armBuild

If you want my autconfig file for arm_v7 ask.

Paul


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird 3 embedded om iOS

2018-07-27 Thread Svend Meyland Nicolaisen
Thank you very much for the answer. Adrian Marius Popa wrote in October a blog 
post regarding Firebird 3 (and 2.5) on iOS: 
https://mapopa.blogspot.com/2017/10/firebird-3-on-apple-ios.html?m=1

The blog post contains little information other than that it is possible. For 
technical details it refers the reader to this mailing list. It does though say 
that the Mac OS X release of Firebird 3.0.3 contains a Mach-O dynamically 
linked shared library for arm_v7 that can be used on iOS. 

Can anyone give some clues to how this could be done?

Kind regards,
Svend 

> Den 26. jul. 2018 kl. 09.20 skrev Paul Beach :
> 
> 
>> I am sorry if this has been covered somewhere already, but I would like to 
>> know what it would take run Firebird 3 
>> embedded on iOS.
> 
> An appropriate build for iOS. Its not impossible and is in fact perfectly 
> feasible, 
> I just think no-one has really tried to do it.
> 
> Regards
> Paul
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> Firebird-Devel mailing list, web interface at 
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdotFirebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


Re: [Firebird-devel] Firebird 3 embedded om iOS

2018-07-26 Thread Paul Beach


> I am sorry if this has been covered somewhere already, but I would like to 
> know what it would take run Firebird 3 
> embedded on iOS. 

An appropriate build for iOS. Its not impossible and is in fact perfectly 
feasible, 
I just think no-one has really tried to do it.

Regards
Paul

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel


[Firebird-devel] Firebird 3 embedded om iOS

2018-07-25 Thread Svend Meyland Nicolaisen
Hi

I am sorry if this has been covered somewhere already, but I would like to know 
what it would take run Firebird 3 embedded on iOS. 

Kind regards,
Svend Meyland Nicolaisen

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel