Your environment seems corrupted.
If you have booted 64bit version of OS and installed the Intel compiler in default location then you need to run the following:
$ source /opt/intel/composerxe/bin/compilervars.sh intel64
$ icc -V
Intel C Intel 64 Compiler XE for applications running on Intel 64, Version 188.8.131.52 Build 20110112
Copyright (C) 1985-2011 Intel Corporation. All rights reserved.
I have used the following to try out the compiler:
$ cat tstcase.cpp
$ icc tstcase.cpp
ld: warning: -macosx_version_min not specificed, assuming 10.6