Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newb question



Steve wrote:
[]
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?

Looks like you have a directory named "hello", and ld is therefore unable to create a file named "hello". Change one or the other.


--
Martin

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Newb question (From: Steve <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.