comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <laguest9000@googlemail.com>
Subject: Re: Ada on iOS ? Or Swift...
Date: Mon, 21 Dec 2015 10:26:33 -0800 (PST)
Date: 2015-12-21T10:26:33-08:00	[thread overview]
Message-ID: <0403159a-d186-48d2-bb2c-9021e10a41b9@googlegroups.com> (raw)
In-Reply-To: <2ea4e650-2499-4fcf-bb0c-6b651ad5dd6e@googlegroups.com>

On Monday, 21 December 2015 10:05:55 UTC, vincent....@gmail.com  wrote:
> Le dimanche 20 décembre 2015 03:16:24 UTC+1, David Botton a écrit :
> > 
> > It will have to be an app with a server side, but using Gnoga it is possible.
>  
> > What you do is create an application using PhoneGAP using a Gnoga boot.html pointing back to your Gnoga app's server IP/URL. Then you can use HTML5 Canvas or any other HTML/JS method to do the drawing. The PhoneGAP JS API will give you access to the location data, etc. which you can access from the server side using Gnoga.
> 
> Thanks David and Luke for your kind responses. Sadly, the server side solution is not practical here, for an onboard navigation tool. I realy need a compiler for iOS...

I did try a cross compile of gcc 4.9.2 for macos x which didn't work. Idid build binutils for ios, so it could/should be possible. I think if you try to build it on macos x instead, it may work, it may not.

Try:

../binutils-2.25/configure --prefix=$HOME/opt/apple-gcc --target=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --with-build-sysroot=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/  --disable-nls --disable-shared


../gcc-4.9.2/configure --prefix=$HOME/opt/apple-gcc --target=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --with-build-sysroot=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/ --enable-languages=c,c++,objc,obj-c++ --disable-nls --disable-shared 

You will probably need the following additions for gcc as well, so each lib would need to be build as well, see my free-ada scripts for that:

--with-ppl=<install> --disable-isl-version-check --disable-ppl-version-check --with-gmp=<install> --with-mpfr=<install> --with-mpc=<install> --with-isl=<install> --enable-cloog-backend=isl --disable-cloog-version-check --with-cloog=<install>

Luke.


  parent reply	other threads:[~2015-12-21 18:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-19 11:04 Ada on iOS ? Or Swift v...@gmail.com
2015-12-19 13:39 ` Lucretia
2015-12-19 13:40   ` Lucretia
2015-12-20  2:16 ` David Botton
2015-12-20  4:23   ` Lucretia
2015-12-20  5:18     ` David Botton
2015-12-21 10:05   ` vincent.diemunsch
2015-12-21 11:05     ` Georg Bauhaus
2015-12-21 15:37       ` David Botton
2015-12-21 18:26     ` Lucretia [this message]
2015-12-21 20:25       ` Lucretia
2015-12-21 20:27         ` Lucretia
2015-12-22  8:10           ` Luke A. Guest
2015-12-22  9:19         ` Luke A. Guest
2015-12-22 17:27           ` Lucretia
2015-12-20  6:32 ` Who is promotion and advertising pratikg482629
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox