C compiler cannot create executables error 77
<p>When I compile the makefile this error appears</p>

<pre><code>root@akshay-HP-ENVY-m6-Notebook-PC:/home/akshay/Downloads/FVCOM3.2.2/FVCOM_source/libs# make

for item in proj        julian      fproj   ; do (./untar.sh $item ) || exit 1; done

cd proj &amp;&amp; ./configure CC=icc CFLAGS=-O3 CXX=icc CXXFLAGS=-O3 F77=ifort FFLAGS=-O3 --prefix=/home/akshay/Downloads/FVCOM3.2.2/FVCOM_source/libs/install

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... no

checking for mawk... mawk

checking whether make sets $(MAKE)... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking for gcc... icc

checking for C compiler default output file name... configure: error: C 
compiler cannot create executables

See `config.log' for more details.

make: *** [all] Error 77
</code></pre>

<p>How to resolve this issue. I have icc installed and have checked by a test run.</p>