Example how to call regular int main() from rtems

Johnny Willemsen jwillemsen at remedy.nl
Fri Nov 24 12:30:30 UTC 2006


Hi,

Solved this already. There was something else wrong which caused strange
errors that I first couldn't explain.

Johnny 

> -----Original Message-----
> From: rtems-users-bounces+jwillemsen=remedy.nl at rtems.org 
> [mailto:rtems-users-bounces+jwillemsen=remedy.nl at rtems.org] 
> On Behalf Of Johnny Willemsen
> Sent: Friday, November 24, 2006 12:44 PM
> To: rtems-users at rtems.org
> Subject: Example how to call regular int main() from rtems
> 
> Hi,
> 
> I have a question, I am porting ACE/TAO to rtems at this 
> moment. I have been
> able to build the ACE library with its tests, but now I want 
> to run some of
> the tests. The tests have all been written in a way that 
> there is a regular
> "int main (int, char*[])" as starting point. I want to have 
> this function as
> starting point on rtems? Has someone an example how to 
> accomplish this? I
> have an rtems_init.c file to have network configuration and 
> other settings,
> but this is a c-file, the main() is in a C++ file.
> 
> Johnny
> 
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
> 




More information about the users mailing list