URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 157 |
Rev 216 |
Line 127... |
Line 127... |
and we have only the one option, for now we do it ourselves. */
|
and we have only the one option, for now we do it ourselves. */
|
|
|
/* Count the number of arguments */
|
/* Count the number of arguments */
|
for (argc = 0; NULL != argv[argc]; argc++)
|
for (argc = 0; NULL != argv[argc]; argc++)
|
{
|
{
|
printf ("argv[%d] = %s\n", argc, argv[argc]);
|
/* printf ("argv[%d] = %s\n", argc, argv[argc]); */
|
}
|
}
|
|
|
/* Configuration file may be passed using the -f <filename> */
|
/* Configuration file may be passed using the -f <filename> */
|
if ((argc > 2) && (0 == strcmp (argv[1], "-f")))
|
if ((argc > 2) && (0 == strcmp (argv[1], "-f")))
|
{
|
{
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.