From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17057 invoked by alias); 21 Jul 2009 09:29:38 -0000 Received: (qmail 17049 invoked by uid 22791); 21 Jul 2009 09:29:37 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-ew0-f221.google.com (HELO mail-ew0-f221.google.com) (209.85.219.221) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 21 Jul 2009 09:29:30 +0000 Received: by ewy21 with SMTP id 21so3238953ewy.30 for ; Tue, 21 Jul 2009 02:29:27 -0700 (PDT) Received: by 10.216.29.201 with SMTP id i51mr1436152wea.214.1248168567334; Tue, 21 Jul 2009 02:29:27 -0700 (PDT) Received: from smtp.gmail.com ([86.57.137.251]) by mx.google.com with ESMTPS id q9sm16105158gve.17.2009.07.21.02.29.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Jul 2009 02:29:26 -0700 (PDT) Date: Tue, 21 Jul 2009 09:29:00 -0000 From: Sergei Gavrikov To: Mandeep Sandhu Cc: eCos discuss list Message-ID: <20090721093355.GA14964@sg-ubuntu.local> References: <20090721073426.GA11907@sg-ubuntu.local> <20090721084734.GA12622@sg-ubuntu.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090721084734.GA12622@sg-ubuntu.local> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] hello world app SEG faults with Linux synth target X-SW-Source: 2009-07/txt/msg00182.txt.bz2 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