[M3devel] cl on windows
Randy Coleburn
rcoleburn at scires.com
Thu Jul 30 18:57:38 CEST 2009
Olaf:
I don't think you want to be doing this with cygwin. That would mean
you are executing in a cygwin environment, not a true Windows-only
environment.
For the Visual Studio command line to work, you have to run the script
that sets up the environment variables. From the Windows Start menu,
there should be a menu tree labeled "Visual C++ 9.0 Express
Edition-->Visual Studio Tools-->Visual Studio 2008 Command Prompt".
Choosing this item from the menu will bring up a command prompt with the
environment set up properly.
Alternately, you can run the following command from an existing command
prompt window: "C:\Program Files\Microsoft Visual Studio
9.0\VC\vcvarsall.bat x86"
Note that the above command line assumes you have installed Visual C++
2008 Express Edition. The paths may be different for different versions
of the software.
Of course, if you use my CMD files (e.g., cm3PromptHere.CMD or
cm3SetupCmdEnv.CMD), they do this all for you.
Regards,
Randy Coleburn
>>> Olaf Wagner <wagner at elegosoft.com> 7/30/2009 12:30 PM >>>
kind of consistent user interface:
elego at wagner ~/work/cm3
$ type cl
cl is hashed (/cygdrive/c/Program Files/Microsoft Visual Studio
9.0/VC/bin/cl)
elego at wagner ~/work/cm3
$ cl
elego at wagner ~/work/cm3
$ echo $?
53
elego at wagner ~/work/cm3
$ cl -version
elego at wagner ~/work/cm3
$ echo $?
53
elego at wagner ~/work/cm3
$ cl -help
elego at wagner ~/work/cm3
$ echo $?
53
elego at wagner ~/work/cm3
$ cl /help
elego at wagner ~/work/cm3
$ echo $?
53
Can it do something else?
Visual Studio Setup completely broken?
Olaf
--
Olaf Wagner -- elego Software Solutions GmbH
Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin,
Germany
phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45
86 95
http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz:
Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr:
DE163214194
CONFIDENTIALITY NOTICE: This email and any attachments are intended
solely for the use of the named recipient(s). This e-mail may contain
confidential and/or proprietary information of Scientific Research
Corporation. If you are not a named recipient, you are prohibited from
making any use of the information in the email and attachments. If you
believe you have received this email in error, please notify the sender
immediately and permanently delete the email, any attachments, and all
copies thereof from any drives or storage media and destroy any
printouts of the email or attachments.
EXPORT COMPLIANCE NOTICE: This email and any attachments may contain
technical data subject to U.S export restrictions under the
International Traffic in Arms Regulations (ITAR) or the Export
Administration Regulations (EAR). Export or transfer of this technical
data and/or related information to any foreign person(s) or entity(ies),
either within the U.S. or outside of the U.S., may require export
authorization by the appropriate U.S. Government agency prior to export
or transfer. In addition, technical data may not be exported or
transferred to certain countries or specified designated nationals
identified by U.S. embargo controls without prior export authorization.
By accepting this email and any attachments, all recipients confirm that
they understand and will comply with all applicable ITAR, EAR and
embargo compliance requirements.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20090730/f5ac03bd/attachment-0002.html>
More information about the M3devel
mailing list