rtems with matlab autocode problems

Joel Sherrill joel.sherrill at OARcorp.com
Wed Jun 16 15:42:43 UTC 2010

On 06/16/2010 10:38 AM, João Rasta wrote:
> Hi,
> I'm having trouble running an rtems application that uses code 
> generated from matlab using autocode. It all goes well until a 
> function of this library is called: printfs return awkward characters 
> and then the application crashes.
I have seen references to this before.  Is this hard to do?  Are there 
Standard glue code, etc.
> 1) Is there any obvious reason to why printfs of the autocode 
> generated functions are not working properly? They are compiled with 
> sparc-rtems-gcc, as the main code.
> 2) Are there any special flags needed to be passed to the compiler in 
> order to link other libraries? Or some rtems configuration..
Is there any chance it is printing floating point numbers from a non-FP 
> Best,
> JM

Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985

More information about the users mailing list