[maemo-developers] Porting a C program in Maemo

From: Frank Banul frank.banul at gmail.com
Date: Tue Jul 15 01:45:49 EEST 2008
Can you start by defining what you want when you say "stuff would be
shown on the Maemo (2.2) screen"?

Do you want the text in a dialog box? As a text box? You saw it on the
terminal so it got somewhere.

Frank

On Mon, Jul 14, 2008 at 5:37 PM, Queen <queen at hol.gr> wrote:
> Hello all!
>
> /* I'm really REALLY new to this, and i just joined this mailing list,
> so i can only hope i'm sending this "help somebody" mail to the right
> address....   Don't bite if i did something stupid..  kthx */
>
> So. Can somebody help me with the following:
>
> Let's say i have the easiest C program, that just prints something 10 times:
>
> // hail.c
>
> #include <stdio.h>
>
> int main()
> {
>    int i;
>    for (i=1; i<11; i++)
>    {
>      printf("%d. Hail to Kernighan and Ritchie \n", i);
>    }
>  return 0;
> }
>
> and i wanna port it to maemo, so that the "printf" stuff would be shown
> on the Maemo (2.2) screen (installed in Ubuntu 7.10).
>
> Do you have any hints, on how on earth is this possible? I've read the
> whole tutorial (and a bunch of other tutorials on deploying and porting
> applications), searched everything, tried my ass off, and nothing. All i
> managed to do is to print "hello" on Maemo , while the "Hail to
> Kernighan and Ritchie" was printed on the terminal (by adding and
> configuring the above source to "maemo_hello,c") ..
>
> Any hint will be more than welcomed.
>
> Thanx in advance!
>
>
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>

More information about the maemo-developers mailing list