This is the mail archive of the sid@sourceware.org mailing list for the SID project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Need information about passing command line arguments.




Hi Frank,
I could not found any gloss-component, I tried with following command to
find the gloss-component

[root@fedora4 bin]# siddoc -l sid
hw-rtc-sid
sid-control-cfgroot
sid-io-fileio
sid-io-socket sid-io-socket-client sid-io-socket-server
sid-io-stdio
sid-sched sid-sched-sim sid-sched-host sid-sched-host-accurate

please let me know how to find the gloss-component?

Regards,
Subbu.
-----Original Message-----
From: Frank Ch. Eigler [mailto:fche@redhat.com]
Sent: Thursday, January 12, 2006 2:39 AM
To: Subba Krishna M N
Cc: sid@sources.redhat.com
Subject: Re: Need information about passing command line arguments.

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






The information contained in this e-mail message and in any annexure is
confidential to the  recipient and may contain privileged information. If you are not
the intended recipient, please notify the sender and delete the message along with
any annexure. You should not disclose, copy or otherwise use the information contained
in the message or any annexure. Any views expressed in this e-mail are those of the
individual sender except where the sender specifically states them to be the views of
SoCrates Software India Pvt Ltd., Bangalore.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]