Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #4739
| From | "Diez B. Roggisch" <deets@web.de> |
|---|---|
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] Python Bibliothek auf iOS benutzen. |
| Date | 2017-04-04 11:30 +0200 |
| Message-ID | <mailman.119.1491299025.2961.python-de@python.org> (permalink) |
| References | <trinity-5df16430-e334-4553-a5c5-9f3ce4ec534c-1491049086986@3capp-gmx-bs56> <mailman.7.1491049099.2961.python-de@python.org> <ekh27mFaf0nU1@mid.dfncis.de> <9CB00C81-2A22-4100-AC60-2CA634B3326E@web.de> |
[Multipart message — attachments visible in raw view] - view raw
> On 4 Apr 2017, at 10:01, Dr. Michael Lauer <mickey@helios.office.drlauer-research.com> wrote: > > Robert Hai <rhey@gmx.de> wrote: >> Das Problem ist nur, dass ich keine Version des Python Frameworks finden >> kann die ich in xCode fuer iOS verwenden kann. Finden kann ich nur eine >> fuer OSX was nach meinem Verstaendnis von Architekturen nicht >> funktionieren wuerde (i386 vs. arm). Hat jemand eine Idee wie ich an so >> etwas kommen koennte ? > > Servus Robert, > > wuesste nicht, dass es fertige Binaries gaebe. Kannst Du Dir aber selbst bauen, > Python ist halbwegs cross-compile-freundlich. *Huust* Finde ich nicht. Wir bauen das fuer Mac & Win selbst, und das ist einer der groesseren Aufrisse vom build-system her. AFAIK darf auf IOS auch nicht dynamisch gelinkt werden, es muss also so wie unter Windows jedes Modul statisch gelinkt & dann in eine statisch Datenstruktur eintragen https://github.com/python/cpython/blob/6f0eb93183519024cb360162bdd81b9faec97ba6/PC/pyconfig.h <https://github.com/python/cpython/blob/6f0eb93183519024cb360162bdd81b9faec97ba6/PC/pyconfig.h> Usw. Und das ist noch ohne cross-compilation! Da wird’s AFAIK noch mal aetzender, weil die PYCs gebaut werden sollen/muessen mit der Version die man baut, aber die laeuft ja eigentlich nur auf dem Zielsystem. Muss man dann zweimal bauen, und dann auf dem Host uebersetzen - oder so. Wenn das dazu kommt, wuerde ich erstmal auf buildroot oder OpenADK schielen: https://github.com/wbx-github/openadk/blob/master/package/python3/Makefile <https://github.com/wbx-github/openadk/blob/master/package/python3/Makefile> https://github.com/buildroot/buildroot/tree/master/package/python <https://github.com/buildroot/buildroot/tree/master/package/python> An anderer Stelle ist Robert geraden worden, auf SymPy zu verzichten, und das mit C++-Libs zu machen. Dem Rat wuerde ich mich anschliessen. Diez
Back to de.comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
[Python-de] Python Bibliothek auf iOS benutzen. "Robert Hai" <rhey@gmx.de> - 2017-04-01 14:18 +0200
Re: [Python-de] Python Bibliothek auf iOS benutzen. "Dr. Michael Lauer" <mickey@helios.office.drlauer-research.com> - 2017-04-04 08:01 +0000
Re: [Python-de] Python Bibliothek auf iOS benutzen. "Diez B. Roggisch" <deets@web.de> - 2017-04-04 11:30 +0200
Re: [Python-de] Python Bibliothek auf iOS benutzen. "Dr. Michael Lauer" <mickey@helios.office.drlauer-research.com> - 2017-04-16 18:48 +0000
csiph-web