Hi Ajeet, On Wed, Mar 24, 2010 at 1:43 PM, Ajeet Kumar <ajeet.ku...@aricent.com> wrote:
> Now i modified the environment to use gcc instead of cc, but again it reports > error, something like below.. ... > ucbcc: unrecognized option `-Xs' You may have gcc installed, but obviously, this is not the version that the makefile sees first. So, you $PATH may not be wrong. There is something weird in this output, and it is that I guess backslashes have been used instead of forward ones. I.e. I guess the compiler above is to be found in some relative ucb/cc path (in fact, there should be a 'bin' somewhere). The 'ucbcc' result looks like an intemediate 'ucb\cc' was being evaluated. All this is quite utterly wrong... One of your tool thought it was running on Windows? However, "unrecognized option `-Xs'" is a sensible thing for a ucb/cc to say... So that the (wrong but still) compiler was found. Something else munged the output afterwards?! Try to narrow your problem down. Can you compile a hello.c? Marc