From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16378 invoked by alias); 22 Jul 2009 14:10:33 -0000 Received: (qmail 16369 invoked by uid 22791); 22 Jul 2009 14:10:33 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_43,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; Wed, 22 Jul 2009 14:10:27 +0000 Received: by ewy21 with SMTP id 21so252047ewy.30 for ; Wed, 22 Jul 2009 07:10:24 -0700 (PDT) Received: by 10.216.12.67 with SMTP id 45mr254435wey.218.1248271824592; Wed, 22 Jul 2009 07:10:24 -0700 (PDT) Received: from smtp.gmail.com ([86.57.137.251]) by mx.google.com with ESMTPS id m5sm960230gve.3.2009.07.22.07.10.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 22 Jul 2009 07:10:23 -0700 (PDT) Date: Wed, 22 Jul 2009 14:10:00 -0000 From: Sergei Gavrikov To: Mandeep Sandhu Cc: John Dallaway , eCos discuss list Message-ID: <20090722141027.GA32164@sg-ubuntu.local> References: <20090721084734.GA12622@sg-ubuntu.local> <20090721090950.GA13710@sg-ubuntu.local> <20090721112236.GA20978@sg-ubuntu.local> <20090721123323.GA22540@sg-ubuntu.local> <20090722104508.GA24668@sg-ubuntu.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/msg00206.txt.bz2 On Wed, Jul 22, 2009 at 07:35:03PM +0530, Mandeep Sandhu wrote: > > Let me try again by starting afresh, from scratch for everything, using the > > i386-elf toolchain. Let me get back here then. > > It worked! :) [snip] > edit ecos.ecc > set CYGBLD_GLOBAL_COMMAND_PREFIX to "i386-elf" That's right. > change CYGBLD_GLOBAL_CFLAGS, append -fno-stack-protector ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ And this step is needed only if you use Debian/Ubuntu host GCC. Will, 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