Application in c

Angelo Fraietta angelo_f at
Tue Oct 22 04:06:57 UTC 2002

Reigu R wrote:

> Hi All,
>    I'm a computer science student and am new to RTEMS. I wish to 
> develop an application in C on RTEMS. I think the normal gcc compliler 
> provided along with Linux is enough to compile the same. But for that, 
> what options are to be used? I downloaded the RTEMS source and build 
> the same in linux.But the folder structure mentioned in the documents 
> were not created properly.Got some sample executables.But don't know 
> how to create the same from their source. Could any one provide a 
> sample program and information on the compilation and linking 
> procedure to be followed?
You have built RTEMS on your linux machine? Have a look at the examples (do a grep in the examples)

Have a look at the souce for the examples -- there is a hello world program, a ticker, etc..
Copy the makefiles from these and work with that til you get your feet.

Angelo Fraietta

PO Box 859
Hamilton NSW 2303

Home Page

There are those who seek knowledge for the sake of knowledge - that is CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
    Bernard of Clairvaux (1090 - 1153)

More information about the users mailing list