Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #8344

Re: CarrierIQ Software and Forth

From Bernd Paysan <bernd.paysan@gmx.de>
Newsgroups comp.lang.forth
Subject Re: CarrierIQ Software and Forth
Date 2011-12-25 02:19 +0100
Organization 1&1 Internet AG
Message-ID <jd5tnt$6b5$1@online.de> (permalink)
References <jd4lmj$b32$1@online.de> <78821811918436@frunobulax.edu>

Show all headers | View raw


Marcel Hendrix wrote:
> 'Easily made run?' Are there cellphones with
> 
> 1. x86 32/64 bit hardware

No, but ARM hardware, and anybody who seriously wants to sell a Forth 
compiler in today's embedded system world already has an ARM target (VFX 
Forth has an ARM target, SwiftForth has one, and Gforth runs on anything 
that is a GCC target, anyways).

> 2. a provision to accept and run a user-supplied binary in a standard
> or
>    open format (e.g. .exe or .dll)

Yes.  Android is Linux.  It took me a day to get Gforth running there, 
and most of that day was to improve the cross compilation support.  Once 
it did cross compile correctly, it worked out of the box on my Android 
phone.  No debugging necessary, it just worked.  I was impressed.

And for "the other cellphone": iOS is FreeBSD.  I would not develop for 
iOS, due to Apples knee-jerk policy about free software and especially 
interpreters, which apparently they forget completely when they install 
spyware (Carrier IQ was part of iOS until version 5).

> 3. open and documented APIs (e.g. C-runtime library, SDL graphics and
> of course
>    phone-specific stuff)?

Yes.  Android is Linux, it is well documented, it has a libc (though not 
glibc), it has OpenGL ES (not SDL), and even though the "official" way 
to program it is Dalvik, Dalvik uses C libraries for all the grunt work.  
iOS's lowlevel parts are almost the same, though on top certainly there 
is Carbon and Objective-C.

> A specific pointer would be appreciated. Given the Windows 8 hoopla
> I was expecting something to *become* possible, but searching for this
> kind of technical information is extremely tedious. (Especially when
> one isn't really interested in application smart-phone stuff).

Oh yes, it took me just a day to port Gforth, but it took me over a week 
to find all the lose ends of the strings to pull to know where to look.  
The Android NDK comes with examples which don't compile, and all the 
stuff that directs you towards Dalvik is misleading.  You don't want to 
go through Dalvik if you port a Forth to Android.  You want a bog-
standard Linux libc program, you want to run it in a terminal session 
(androidterm/ssh/telnet), and thus you want the NDK, and to get a normal 
cross compiler out of the NDK is another step, which is not explained 
properly.  Look into gforth/arch/arm/android/config.sh (from the CVS 
repository) for more informations, the first few lines (with comments) 
describe how to generate a "feels normal" GCC cross compiler suite.

To make a more complete system than just a terminal Forth (i.e. one you 
can develop programs the user interfaces with), you probably have to 
take androidterm (it's open source, it's a rather small program), and 
extend it so that all the stuff you absolutely need Dalvik for are done 
there (like the interface to the keyboard, maybe some way to create 
Dalvik GUIs from the Forth system).

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

CarrierIQ Software and Forth Krishna Myneni <krishna.myneni@ccreweb.org> - 2011-12-23 19:03 -0800
  Re: CarrierIQ Software and Forth Krishna Myneni <krishna.myneni@ccreweb.org> - 2011-12-23 19:14 -0800
    Re: CarrierIQ Software and Forth Mark Wills <markrobertwills@yahoo.co.uk> - 2011-12-24 01:52 -0800
      Re: CarrierIQ Software and Forth Krishna Myneni <krishna.myneni@ccreweb.org> - 2011-12-24 04:06 -0800
        Re: CarrierIQ Software and Forth Bernd Paysan <bernd.paysan@gmx.de> - 2011-12-24 14:56 +0100
          Re: CarrierIQ Software and Forth mhx@iae.nl (Marcel Hendrix) - 2011-12-24 17:53 +0200
            Re: CarrierIQ Software and Forth Mark Wills <markrobertwills@yahoo.co.uk> - 2011-12-24 09:23 -0800
            Re: CarrierIQ Software and Forth BruceMcF <agila61@netscape.net> - 2011-12-24 12:14 -0800
            Re: CarrierIQ Software and Forth Bernd Paysan <bernd.paysan@gmx.de> - 2011-12-25 02:19 +0100
              Re: CarrierIQ Software and Forth Dennis Ruffer <daruffer@gmail.com> - 2011-12-25 12:58 -0800
                Re: CarrierIQ Software and Forth Bernd Paysan <bernd.paysan@gmx.de> - 2011-12-25 23:53 +0100
              Re: CarrierIQ Software and Forth BruceMcF <agila61@netscape.net> - 2011-12-25 13:25 -0800
                Re: CarrierIQ Software and Forth Bernd Paysan <bernd.paysan@gmx.de> - 2011-12-26 00:10 +0100
              Re: CarrierIQ Software and Forth mhx@iae.nl (Marcel Hendrix) - 2011-12-25 22:36 +0200
                Re: CarrierIQ Software and Forth Bernd Paysan <bernd.paysan@gmx.de> - 2011-12-26 00:09 +0100
                Re: CarrierIQ Software and Forth Krishna Myneni <krishna.myneni@ccreweb.org> - 2011-12-28 08:36 -0800
              Re: CarrierIQ Software and Forth John Passaniti <john.passaniti@gmail.com> - 2011-12-27 09:43 -0800
                Re: CarrierIQ Software and Forth BruceMcF <agila61@netscape.net> - 2011-12-27 09:56 -0800
                Re: CarrierIQ Software and Forth John Passaniti <john.passaniti@gmail.com> - 2011-12-27 11:08 -0800
                Re: CarrierIQ Software and Forth Krishna Myneni <krishna.myneni@ccreweb.org> - 2011-12-27 22:38 -0800
                Re: CarrierIQ Software and Forth "Elizabeth D. Rather" <erather@forth.com> - 2011-12-27 22:01 -1000
                Re: CarrierIQ Software and Forth Paul Rubin <no.email@nospam.invalid> - 2011-12-28 02:20 -0800
                Re: CarrierIQ Software and Forth John Passaniti <john.passaniti@gmail.com> - 2011-12-28 12:12 -0800
                Re: CarrierIQ Software and Forth Alex McDonald <blog@rivadpm.com> - 2011-12-28 14:15 -0800
                Re: CarrierIQ Software and Forth Bernd Paysan <bernd.paysan@gmx.de> - 2011-12-28 23:56 +0100
                Re: CarrierIQ Software and Forth Alex McDonald <blog@rivadpm.com> - 2011-12-28 15:07 -0800
                Re: CarrierIQ Software and Forth BruceMcF <agila61@netscape.net> - 2011-12-28 11:11 -0800
                Re: CarrierIQ Software and Forth Bernd Paysan <bernd.paysan@gmx.de> - 2011-12-27 22:01 +0100
                Re: CarrierIQ Software and Forth Nomen Nescio <nobody@dizum.com> - 2011-12-28 11:11 +0100
                Re: CarrierIQ Software and Forth Bernd Paysan <bernd.paysan@gmx.de> - 2011-12-28 13:57 +0100
                Re: CarrierIQ Software and Forth Albert van der Horst <albert@spenarnc.xs4all.nl> - 2011-12-29 11:00 +0000
                Re: CarrierIQ Software and Forth John Passaniti <john.passaniti@gmail.com> - 2011-12-28 08:39 -0800
                GPL [Was: CarrierIQ Software and Forth] Andrew Haley <andrew29@littlepinkcloud.invalid> - 2011-12-28 12:32 -0600
                Re: GPL [Was: CarrierIQ Software and Forth] John Passaniti <john.passaniti@gmail.com> - 2011-12-28 12:07 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] Bernd Paysan <bernd.paysan@gmx.de> - 2011-12-28 23:19 +0100
                Re: GPL [Was: CarrierIQ Software and Forth] Arnold Doray <invalid@invalid.com> - 2011-12-29 08:38 +0000
                Re: GPL [Was: CarrierIQ Software and Forth] "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-12-29 04:59 -0500
                Re: GPL [Was: CarrierIQ Software and Forth] Bernd Paysan <bernd.paysan@gmx.de> - 2011-12-29 14:04 +0100
                Re: GPL Aleksej Saushev <asau@inbox.ru> - 2011-12-30 00:12 +0400
                Re: GPL cas_news@strotmann.de (Carsten Strotmann (Usenet)) - 2011-12-29 21:48 +0100
                Re: GPL Bernd Paysan <bernd.paysan@gmx.de> - 2011-12-29 23:50 +0100
                Re: GPL [Was: CarrierIQ Software and Forth] "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-12-29 18:00 -0500
                Re: GPL [Was: CarrierIQ Software and Forth] Bernd Paysan <bernd.paysan@gmx.de> - 2011-12-30 01:38 +0100
                Re: GPL [Was: CarrierIQ Software and Forth] "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-12-30 13:46 -0500
                Re: GPL [Was: CarrierIQ Software and Forth] Bernd Paysan <bernd.paysan@gmx.de> - 2011-12-30 22:58 +0100
                Re: GPL [Was: CarrierIQ Software and Forth] "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-12-31 21:20 -0500
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2012-01-01 01:46 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-01-01 04:43 -0600
                Re: GPL [Was: CarrierIQ Software and Forth] Bernd Paysan <bernd.paysan@gmx.de> - 2012-01-01 16:45 +0100
                Re: GPL [Was: CarrierIQ Software and Forth] Brad <hwfwguy@gmail.com> - 2012-01-01 08:19 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] Andrew Haley <andrew29@littlepinkcloud.invalid> - 2011-12-30 04:13 -0600
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2011-12-29 11:15 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-12-29 18:07 -0500
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2011-12-29 16:21 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] Bernd Paysan <bernd.paysan@gmx.de> - 2011-12-30 01:43 +0100
                Re: GPL [Was: CarrierIQ Software and Forth] Mark Wills <markrobertwills@yahoo.co.uk> - 2011-12-29 23:55 -0800
                Re: GPL cas_news@strotmann.de (Carsten Strotmann (Usenet)) - 2011-12-30 10:38 +0100
                Re: GPL cas_news@strotmann.de (Carsten Strotmann (Usenet)) - 2011-12-30 11:12 +0100
                Re: GPL anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2011-12-30 13:14 +0000
                Re: GPL [Was: CarrierIQ Software and Forth] "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-12-30 13:40 -0500
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2011-12-30 13:24 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] Nomen Nescio <nobody@dizum.com> - 2012-01-02 08:19 +0100
                Re: GPL [Was: CarrierIQ Software and Forth] Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-01-02 15:46 +0000
                Re: GPL [Was: CarrierIQ Software and Forth] Fritz Wuehler <fritz@spamexpire-201112.rodent.frell.theremailer.net> - 2011-12-30 20:26 +0100
                Re: GPL [Was: CarrierIQ Software and Forth] Spam@ControlQ.com - 2012-01-01 14:45 -0500
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2012-01-01 12:28 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-01-02 02:03 -0500
                Re: GPL [Was: CarrierIQ Software and Forth] anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2011-12-30 12:33 +0000
                Re: GPL [Was: CarrierIQ Software and Forth] Brad <hwfwguy@gmail.com> - 2011-12-30 17:30 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] Arnold Doray <invalid@invalid.com> - 2011-12-30 17:07 +0000
                Re: GPL [Was: CarrierIQ Software and Forth] Andrew Haley <andrew29@littlepinkcloud.invalid> - 2011-12-29 04:26 -0600
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2011-12-29 11:00 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2011-12-30 12:18 +0000
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2011-12-28 12:49 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] Andrew Haley <andrew29@littlepinkcloud.invalid> - 2011-12-29 04:37 -0600
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2011-12-29 11:09 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] Andrew Haley <andrew29@littlepinkcloud.invalid> - 2011-12-30 04:21 -0600
                Re: GPL [Was: CarrierIQ Software and Forth] Albert van der Horst <albert@spenarnc.xs4all.nl> - 2011-12-29 13:53 +0000
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2011-12-29 11:58 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] Albert van der Horst <albert@spenarnc.xs4all.nl> - 2011-12-30 11:05 +0000
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2011-12-30 13:54 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-01-01 11:51 +0000
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2012-01-01 12:33 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-01-02 10:33 +0000
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2012-01-02 11:40 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2012-01-01 12:37 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-01-02 10:36 +0000
                Re: GPL [Was: CarrierIQ Software and Forth] Bernd Paysan <bernd.paysan@gmx.de> - 2012-01-02 14:27 +0100
                Re: GPL [Was: CarrierIQ Software and Forth] Alex McDonald <blog@rivadpm.com> - 2012-01-05 04:08 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] Bernd Paysan <bernd.paysan@gmx.de> - 2012-01-05 17:40 +0100
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2012-01-05 04:59 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-01-05 09:49 -0600
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2012-01-05 07:56 -0800
                Re: GPL [Was: CarrierIQ Software and Forth] BruceMcF <agila61@netscape.net> - 2011-12-30 14:00 -0800
                Re: CarrierIQ Software and Forth John Passaniti <john.passaniti@gmail.com> - 2011-12-28 10:33 -0800
                Re: CarrierIQ Software and Forth BruceMcF <agila61@netscape.net> - 2011-12-28 11:30 -0800
                Re: CarrierIQ Software and Forth John Passaniti <john.passaniti@gmail.com> - 2011-12-28 15:28 -0800
                Re: CarrierIQ Software and Forth BruceMcF <agila61@netscape.net> - 2011-12-29 11:49 -0800
                Re: CarrierIQ Software and Forth jyf <jyf1987@gmail.com> - 2012-01-02 08:32 -0800
                Re: CarrierIQ Software and Forth Bernd Paysan <bernd.paysan@gmx.de> - 2011-12-28 22:26 +0100
                Re: CarrierIQ Software and Forth Paul Rubin <no.email@nospam.invalid> - 2011-12-27 20:22 -0800
          Re: CarrierIQ Software and Forth BruceMcF <agila61@netscape.net> - 2011-12-24 09:11 -0800
            Re: CarrierIQ Software and Forth Mark Wills <markrobertwills@yahoo.co.uk> - 2011-12-24 09:29 -0800
    Re: CarrierIQ Software and Forth Aleksej Saushev <asau@inbox.ru> - 2011-12-26 00:29 +0400
    Re: CarrierIQ Software and Forth Ian Osgood <iano@quirkster.com> - 2011-12-27 14:15 -0800
      Re: CarrierIQ Software and Forth Richard Owlett <rowlett@pcnetinc.com> - 2011-12-27 16:29 -0600
      Re: CarrierIQ Software and Forth Krishna Myneni <krishna.myneni@ccreweb.org> - 2011-12-27 21:10 -0800
    Re: CarrierIQ Software and Forth Mark Wills <markrobertwills@yahoo.co.uk> - 2011-12-29 23:46 -0800
      Re: CarrierIQ Software and Forth Krishna Myneni <krishna.myneni@ccreweb.org> - 2011-12-31 16:41 -0800
  Re: CarrierIQ Software and Forth Trey Boudreau <trey.boudreau@gmail.com> - 2011-12-31 20:50 -0800
    Re: CarrierIQ Software and Forth Krishna Myneni <krishna.myneni@ccreweb.org> - 2012-01-01 18:14 -0800
      Re: CarrierIQ Software and Forth Trey Boudreau <trey.boudreau@gmail.com> - 2012-01-01 21:33 -0800
        Re: CarrierIQ Software and Forth "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-01-02 01:57 -0500
          Re: CarrierIQ Software and Forth Krishna Myneni <krishna.myneni@ccreweb.org> - 2012-01-02 04:45 -0800
          Re: CarrierIQ Software and Forth Trey Boudreau <trey.boudreau@gmail.com> - 2012-01-02 07:36 -0800
            Re: CarrierIQ Software and Forth Bernd Paysan <bernd.paysan@gmx.de> - 2012-01-05 15:13 +0100
              Re: CarrierIQ Software and Forth Trey Boudreau <trey.boudreau@gmail.com> - 2012-01-05 13:15 -0800
                Re: CarrierIQ Software and Forth Krishna Myneni <krishna.myneni@ccreweb.org> - 2012-01-05 16:19 -0800
                Re: CarrierIQ Software and Forth Krishna Myneni <krishna.myneni@ccreweb.org> - 2012-01-05 16:22 -0800
                Re: CarrierIQ Software and Forth Trey Boudreau <trey.boudreau@gmail.com> - 2012-01-05 17:17 -0800

csiph-web