News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Running non-Windows executables

Started by ET, March 07, 2005, 12:45:48 PM

Previous topic - Next topic

ET

I'm looking to use Code::Blocks as a cross compiler. When I run the program, I want to run a command (the simulator) and provide the executable's name as a parameter. I tried using "Project \ Set execution parameters..." but I have the following problems:

1. I don't know what format to use to tell it what I need to tell it, i.e., to insert the exeutable's name into the parameters line.

2. I'm not sure what "This target provides the project's main executable" means. On the face of it, it sounds like it should be off, in my case. However, it's ticked whenever I enter the dialogue.

mandrav

QuoteWhen I run the program, I want to run a command (the simulator) and provide the executable's name as a parameter
Currently, the parameters are only parameters. The executable is the one from the build target. If you want a different behaviour, please submit a feature request.

QuoteI'm not sure what "This target provides the project's main executable" means
It's a convenience feature, for multi-target projects. you can mark one of the targets as the "main" executable so that the dialog displaying which target to run has the "main" target already selected.

Yiannis.
Be patient!
This bug will be fixed soon...