This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: hello world app SEG faults with Linux synth target
On Tue, Jul 21, 2009 at 11:47:34AM +0300, Sergei Gavrikov wrote:
> Mandeep Sandhu wrote:
> > >> My hello world app crashes with seg fault when I try to run it.
> > >
> > > Look at this recent thread
> > > http://ecos.sourceware.org/ml/ecos-devel/2009-06/msg00042.html
> > >
> > > May be, that's it.
> >
> > That was it! :)
>
> Please, keep the list.
>
> > But now, even though the app does not seg faults, it seems to be hung (as in
> > the app does NOT exit)...and I don't see any printf output! :(
>
> cdl_option CYGSEM_LIBC_EXIT_STOPS_SYSTEM {
> user_value 1
> };
I was wrong with opt. Read good answer from Andrew Lunn
http://sourceware.org/ml/ecos-discuss/2007-05/msg00081.html
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