From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13519 invoked by alias); 12 Jan 2006 00:10:49 -0000 Received: (qmail 6794 invoked by uid 22791); 11 Jan 2006 21:08:46 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Jan 2006 21:08:44 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id k0BL8hMo021119 for ; Wed, 11 Jan 2006 16:08:43 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id k0BL8c126524; Wed, 11 Jan 2006 16:08:38 -0500 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id k0BL8cS1020408; Wed, 11 Jan 2006 16:08:38 -0500 Received: from tooth.toronto.redhat.com (tooth.toronto.redhat.com [172.16.14.29]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 16850800086; Wed, 11 Jan 2006 16:08:38 -0500 (EST) Received: from tooth.toronto.redhat.com (IDENT:1yGqQJDKkAERPbZ7DVcdV/oArd+zi6A1@localhost [127.0.0.1]) by tooth.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id k0BL8buI018290; Wed, 11 Jan 2006 16:08:37 -0500 Received: (from fche@localhost) by tooth.toronto.redhat.com (8.12.8/8.12.8/Submit) id k0BL8bnD018288; Wed, 11 Jan 2006 16:08:37 -0500 Date: Thu, 12 Jan 2006 00:10:00 -0000 From: "Frank Ch. Eigler" To: mnskrishna@soc-soft.com Cc: sid@sources.redhat.com Subject: Re: Need information about passing command line arguments. Message-ID: <20060111210837.GB17696@redhat.com> References: <4BF47D56A0DD2346A1B8D622C5C5902C01288F49@soc-mail.soc-soft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BF47D56A0DD2346A1B8D622C5C5902C01288F49@soc-mail.soc-soft.com> User-Agent: Mutt/1.4.1i X-IsSubscribed: yes Mailing-List: contact sid-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00001.txt.bz2 Hi - On Wed, Jan 11, 2006 at 12:01:11PM +0530, mnskrishna@soc-soft.com wrote: > [...] > ./sid -board=mm_MAX -load=hello.x -INITTIME > considering the above example please let me know how to pass -INITTIME > to the hello.x > [...] The code in sid/main/mainDynamic.cxx does not appear able to pass simulated command line arguments to the gloss component (the "command-line" attribute) the same way that the sid/bsp/configrun-sid perl front-end did. You may be able to simulate it with the more general "-e" option, something like this: ./sid -board=mm_MAX -load=hello.x \ -e 'set GLOSS-COMPONENT command-line -INITTIME' You'd have to figure out the right GLOSS-COMPONENT name though, perhaps from a prior run with "--save-temps". - FChE