[ECOS] hello world app SEG faults with Linux synth target
Thu Jul 23 11:39:00 GMT 2009
On Thu, Jul 23, 2009 at 4:51 PM, Sergei
> 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.
> I hope that your greeting is terminated by NL. Check it! If it is
> buffering issue, try
> fprintf(stderr, "hello, world!\n");
Awesome! Both the approaches worked! Thanks!!!
The NL char was there i the original source though. Though
there is no buffering issue if we use the stderr stream. Why so?
Should one of these stmts be put in the default hello.c file that comes with
ECOS? Do you think others might also face this issue?
> may be `setvbuf' (man setvbuf) will be useful for you.
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