<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello all, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I needed a 64 bit version of proj4 and was able to build it from source on Win7 using the VS 2010 command line compiler. My application then successfully used this custom build.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">However, I now have a need to build proj4 using Intel Integrated Performance Primitives (IPP). This basically entails changing all uses of ‘cl’ to ‘icl’, and uses of ‘link’ to ‘xilink’, and then of course adding whatever options I need.
Intel IPP works basically as a plugin to VS 2010 (as I’m using it), adding an Intel compiler mode to the VS 2010 command line compiler.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My problem is even though I changed all uses of ‘cl’ to ‘icl’ in ‘Proj\src\makefile.vc’, when calling ‘nmake /f Proj\makefile.vc’ it still uses ‘cl’ in some cases. I cannot seem to find where these additional ‘cl’ calls are being made
from so that I can change them. Here is the initial output of the build, where the first rogue ‘cl’ is called:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">C:\PROJ\proj-4.8.0>nmake /f makefile.vc<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Microsoft (R) Program Maintenance Utility Version 10.00.30319.01<o:p></o:p></p>
<p class="MsoNormal">Copyright (C) Microsoft Corporation. All rights reserved.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> cd src<o:p></o:p></p>
<p class="MsoNormal"> nmake /f makefile.vc<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Microsoft (R) Program Maintenance Utility Version 10.00.30319.01<o:p></o:p></p>
<p class="MsoNormal">Copyright (C) Microsoft Corporation. All rights reserved.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> cl /nologo -I. -DPROJ_LIB=\"C:\PROJ\SHARE\" -DHAVE_STRERROR=1 /nologo /<o:p></o:p></p>
<p class="MsoNormal">MD /O2 /Oi /Ot /GS- /fp:precise /GA /QxSSE4.1 /Qipo /c aasincos.c adjlon.c bch2b<o:p></o:p></p>
<p class="MsoNormal">ps.c bchgen.c pj_gauss.c biveval.c dmstor.c mk_cheby.c pj_auth.c pj_deriv.c pj_e<o:p></o:p></p>
<p class="MsoNormal">ll_set.c pj_ellps.c pj_errno.c pj_factors.c pj_fwd.c pj_init.c pj_inv.c pj_list.<o:p></o:p></p>
<p class="MsoNormal">c pj_malloc.c pj_mlfn.c pj_msfn.c pj_open_lib.c pj_param.c pj_phi2.c pj_pr_list.<o:p></o:p></p>
<p class="MsoNormal">c pj_qsfn.c pj_strerrno.c pj_tsfn.c pj_units.c pj_zpoly1.c rtodms.c vector1.c pj<o:p></o:p></p>
<p class="MsoNormal">_release.c geocent.c pj_transform.c pj_datum_set.c pj_datums.c pj_apply_gridshif<o:p></o:p></p>
<p class="MsoNormal">t.c nad_cvt.c nad_init.c nad_intr.c pj_utils.c pj_gridlist.c pj_gridinfo.c proj_<o:p></o:p></p>
<p class="MsoNormal">mdist.c pj_mutex.c pj_initcache.c pj_ctx.c pj_log.c pj_apply_vgridshift.c PJ_bog<o:p></o:p></p>
<p class="MsoNormal">gs.c PJ_collg.c PJ_crast.c PJ_denoy.c PJ_eck1.c PJ_eck2.c PJ_eck3.c PJ_eck4.c PJ<o:p></o:p></p>
<p class="MsoNormal">_eck5.c PJ_fahey.c PJ_fouc_s.c PJ_gins8.c PJ_gn_sinu.c PJ_goode.c PJ_igh.c PJ_ha<o:p></o:p></p>
<p class="MsoNormal">tano.c PJ_loxim.c PJ_mbt_fps.c PJ_mbtfpp.c PJ_mbtfpq.c PJ_moll.c PJ_nell.c PJ_ne<o:p></o:p></p>
<p class="MsoNormal">ll_h.c PJ_putp2.c PJ_putp3.c PJ_putp4p.c PJ_putp5.c PJ_putp6.c PJ_robin.c PJ_sts<o:p></o:p></p>
<p class="MsoNormal">.c PJ_urm5.c PJ_urmfps.c PJ_wag2.c PJ_wag3.c PJ_wink1.c PJ_wink2.c PJ_isea.c PJ_<o:p></o:p></p>
<p class="MsoNormal">aeqd.c PJ_gnom.c PJ_laea.c PJ_mod_ster.c PJ_nsper.c PJ_nzmg.c PJ_ortho.c PJ_ster<o:p></o:p></p>
<p class="MsoNormal">e.c PJ_sterea.c proj_rouss.c PJ_aea.c PJ_bipc.c PJ_bonne.c PJ_eqdc.c PJ_imw_p.c<o:p></o:p></p>
<p class="MsoNormal">PJ_lcc.c PJ_poly.c PJ_rpoly.c PJ_sconics.c PJ_lcca.c PJ_cass.c PJ_cc.c PJ_cea.c<o:p></o:p></p>
<p class="MsoNormal">PJ_eqc.c PJ_gall.c PJ_labrd.c PJ_lsat.c PJ_merc.c PJ_mill.c PJ_ocea.c PJ_omerc.c<o:p></o:p></p>
<p class="MsoNormal">PJ_somerc.c PJ_tcc.c PJ_tcea.c PJ_tmerc.c PJ_geos.c PJ_gstmerc.c proj_etmerc.c<o:p></o:p></p>
<p class="MsoNormal">PJ_airy.c PJ_aitoff.c PJ_august.c PJ_bacon.c PJ_chamb.c PJ_hammer.c PJ_lagrng.c<o:p></o:p></p>
<p class="MsoNormal">PJ_larr.c PJ_lask.c PJ_nocol.c PJ_ob_tran.c PJ_oea.c PJ_tpeqd.c PJ_vandg.c PJ_va<o:p></o:p></p>
<p class="MsoNormal">ndg2.c PJ_vandg4.c PJ_wag7.c pj_latlong.c PJ_krovak.c pj_geocent.c PJ_healpix.c<o:p></o:p></p>
<p class="MsoNormal">PJ_natearth.c<o:p></o:p></p>
<p class="MsoNormal">cl : Command line warning D9002 : ignoring unknown option '/QxSSE4.1'<o:p></o:p></p>
<p class="MsoNormal">cl : Command line warning D9002 : ignoring unknown option '/Qipo'<o:p></o:p></p>
<p class="MsoNormal">aasincos.c<o:p></o:p></p>
<p class="MsoNormal">adjlon.c<o:p></o:p></p>
<p class="MsoNormal">bch2bps.c<o:p></o:p></p>
<p class="MsoNormal">…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The ‘cd src’ and call to ‘nmake’ are in the wrapper makefile.vc. Next is some output from VS 2010. After that is the rogue ‘cl’. The build goes on to do all the things that I expect, including the ‘lib’ and ‘xilink’ calls. But I need
the source files to be built with the ‘icl’ command, not ‘cl’. What am I missing? Where is this ‘cl’ being called from?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for your time,<o:p></o:p></p>
<p class="MsoNormal">Lance<o:p></o:p></p>
</div>
</body>
</html>