I wrote a command line application in xcode. Nothing too complex,
no mac-specific features as far as I know. When I try to compile
on linux using gcc I get a raft of errors, and can find no reason
for them.
What are the errors? Mac OS X uses GCC too - what version is on your
Linux machine?
sherm@debian:~/tmp$ gcc -Wall main.c dict.c -o dict
dict.c: In function '_hash':
dict.c:67: warning: suggest parentheses around assignment used as
truth value
As you can see, no errors, just one warning that could easily be
addressed. I get the same warning using the GCC 4.01 that's included
with Tiger's Xcode.
BTW, this is a plain old C question, so I've remove the Objective-C
list.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden