[ECOS] hello world app SEG faults with Linux synth target

Sergei Gavrikov sergei.gavrikov@gmail.com
Thu Jul 23 11:21:00 GMT 2009


On Thu, Jul 23, 2009 at 02:11:15PM +0300, Sergei Gavrikov wrote:
> It's strange if stdiooutput ouputs, but hello.
> 
> Try append in hello.c before to exit.
> 
> fflush(stdout);

I hope that your greeting is terminated by NL. Check it! If it is
buffering issue, try

fprintf(stderr, "hello, world!\n");

may be `setvbuf' (man setvbuf) will be useful for you.

Sergei

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list