site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com //--------------------------------------- #include <stdio.h> int main(){ printf("Hello World!"); return (0); }//main //--------------------------------------- and saved as hello.c then I did a cc -o hello hello.c and I got an error so then I tried gcc and I got the same error.......looks like this steve-youngs-mac-pro:sandbox steve$ gcc -o hello hello.c ld: can't open output file for writing: hello, errno=21 collect2: ld returned 1 exit status What am I doing wrong? Steve _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Hope I chose the right list to post this question, please let me know which one I should use if not this one. I'm new to programming on the Mac and I'm just trying to find where everything is and how it works. So I'm starting at the bottom/basics and I'm trying the infamous "Hello World" beginning program. I did a mkdir sandbox in the /Developer directory of the recently downloaded xcode 3.1 so I have someplace to experiment. and in there I used vi to code: This email sent to site_archiver@lists.apple.com