help: xcode error Command /usr/bin/gcc-4.0 failed with exit code 1

a script was made in xcode 3 for leopard and it works fine.
when i opened it in xcode 2, tiger, the following error comes up

Tool:0: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit load command 19 unknown cmd field
Tool:0: Command /usr/bin/gcc-4.0 failed with exit code 1

what does the error mean? is there anyway to fix this?


As far I know, gcc is the compiler used for all cocoa/c++ apps and stuff. I think only the new Xcode supports the 4.0 version. If you want to use it with a previous Xcode version, you will probably have to use an earlier version of your script or change the command line 19 to suit your needs.


Thanks for the reply, BTW i’m new to the language, could you please tell me what the command line 19 refers to? is it the line number in the script or does it refer to something else? thanks