|
|
#1 |
|
xcode help
hi, i just installed xcode on my pb, i try to compile a c code, it worked. but i do not know how to run that ".out" file on my terminal.
need help from all you guys. thanks a lot ps:any xcode learning website suggest? |
|
|
|
0
|
|
|
#2 |
|
do an ls -l to make sure it's executable (look for x in the user permissions). Assuming it is type ./<name of file>.out (you need the ./ as the current directory is not normally in your PATH). Note that it is normal to rename the compiled executable to not have the .out extension!
If the file is not executable do chmod u+x <name of file>
__________________
Sponsor me to cycle 100Km round London in the dark |
|
|
|
0
|
|
|
#3 |
|
still no good
the file is executable and i have the permission. but how to change the name?
i tried just use "a", it doesn't work. what should i do? thanks |
|
|
|
0
|
|
|
#4 |
|
You seem very uncomfortable with the command line! Use the Finder to change the name, or type mv <full name> <new name> the full name includes all extensions (i.e. mv a.out mygreatprogram).
__________________
Sponsor me to cycle 100Km round London in the dark |
|
|
|
0
|
|
|
#5 | |
|
Quote:
http://developer.apple.com/documenta...our/index.html |
||
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| Help Needed - Xcode 4 Options: Use Core Data Include Unit Tests | Mitch1984 | iPhone/iPad Programming | 3 | Feb 26, 2011 03:42 PM |
| Need Xcode Help! | Buly34 | Mac Programming | 3 | Feb 17, 2011 06:03 AM |
| Xcode help. | edge540 | Macintosh Computers | 5 | Mar 31, 2005 02:30 PM |
| Xcode help, setting an NSTabViewItem outlet | FredAkbar | Mac Applications and Mac App Store | 4 | Aug 21, 2004 11:03 AM |
| Carbon and XCode ?!! help.. are they compatible with the earlier versions ? | macroy | Mac Applications and Mac App Store | 5 | Jul 8, 2004 12:38 PM |
All times are GMT -5. The time now is 07:53 PM.






Linear Mode

