[maemo-developers] Porting a C program in Maemo

From: Queen queen at hol.gr
Date: Tue Jul 15 01:37:57 EEST 2008
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!




More information about the maemo-developers mailing list