Iv'e written a piece of c++ code (a command line tool) in Xcode which runs fine within Xcode and the terminal file at project/build/release also runs as it should. However, when I move this file to my laptop and try opening it in terminal all I get is a message saying something like "Permission denied". The program don't start. Moving the project to the laptop and building it it runs fine on the laptop but not on the desktop. Both computers run OS 10.6.4 and Xcode 3.2. How should I do with Xcode or other software to get a file which I can run on different computers without compiling it on each one of them?