This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How will I pass command line arguments to cross compiler code?

Hi people,

I have an interesting problem here. I need to generate a number (a 4-digit Integer) and give it as a command line argument to my exe file generated by the cross compiler.

The problem is, EXE file would be executed by the chip & not by the PC, hence giving any command line argument would need a connection between the chip & one of the ports on the PC.

Is there a way/mechanism by which I can give a command line argument during compile-time and not during the run-time?

Is there any functionality provided by the tool on these lines?

Regards,
Jinen.

Parents Reply Children