simple CLI architecture



Hello, All!

I'm trying to implement simple Command Line Interface (CLI) for our
design based on linux. I will use GCC as compiler. I don't need some special
features (like command line editing, commands history etc.) by now, just
simple and basic functionality:
1) enter command
2) parse command line
3) execute code related to command

Seems to be simple but I don't have any idea right now, that's why I ask for
you to help me out :)

With best regards, Roman Mashak. E-mail: mrv@xxxxxxxx


.



Relevant Pages

  • Re: GNAT 2009 and C++
    ... compiler, only gcc is provided. ... If you do not have a current support agreement, ... However, if command 'g++ -v' is used, the result is quite different as ...
    (comp.lang.ada)
  • Re: How do you make this Open Source work on Solaris ?
    ... After running the tar -xvf command, I logged in /bin/csh and did the ... checking for gcc... ... checking for C compiler default output... ... checking how to recognise dependent libraries... ...
    (comp.unix.programmer)
  • Re: How do you make this Open Source work on Solaris 10?
    ... After running the tar -xvf command, I logged in /bin/csh and did the ... checking for gcc... ... checking for C compiler default output... ... checking how to recognise dependent libraries... ...
    (comp.unix.shell)
  • Trying to install tarball for HP F4140
    ... I'd entered the following command and got this response: ... checking for mawk... ... checking for gcc... ... checking for C compiler default output file name... ...
    (Ubuntu)
  • Re: How do you make this Open Source work on Solaris ?
    ... After running the tar -xvf command, I logged in /bin/csh and did the ... checking for gcc... ... checking for C compiler default output... ... checking how to recognise dependent libraries... ...
    (comp.unix.programmer)