<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 9/6/2012 5:08 PM, Peter Wang wrote:<br>
</div>
<blockquote cite="mid:20120907100807.GA2462@lucy.WAG320N"
type="cite">
<pre wrap="">On Thu, 06 Sep 2012 15:46:04 -0700, Jeff Thompson <a class="moz-txt-link-rfc2396E" href="mailto:jeff@thefirst.org"><jeff@thefirst.org></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello. I am able to complie Mercury with the csharp grade to make
mer_std.dll. But I would like my C# application to use the Mercury
library .cs files directly, without needing to reference the mer_Std.dll
assembly.
Is this possible? It seems that "make install LIBGRADES=csharp" deletes
the intermediate .cs files after it links them into mer_std.dll. Is
there a way to make the build process preserve them?
</pre>
</blockquote>
<pre wrap="">
touch .leave_tmp_dir before installing.
</pre>
</blockquote>
<br>
Awesome! This worked great. <br>
<br>
To compile the library .cs files directly (in Microsoft Visual C#),
I had to define the symbol
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
MR_HIGHLEVEL_DATA to make rtti_implementation happy. What does
MR_HIGHLEVEL_DATA do?<br>
<br>
Thanks for the help,<br>
- Jeff<br>
<br>
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 14">
<meta name="Originator" content="Microsoft Word 14">
<link rel="File-List"
href="file:///C:%5CUsers%5CJTHOMP%7E1.MEM%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml">
<link rel="themeData"
href="file:///C:%5CUsers%5CJTHOMP%7E1.MEM%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx">
<link rel="colorSchemeMapping"
href="file:///C:%5CUsers%5CJTHOMP%7E1.MEM%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-520092929 1073786111 9 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
.MsoPapDefault
{mso-style-type:export-only;
margin-bottom:10.0pt;
line-height:115%;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.WordSection1
{page:WordSection1;}
-->
</style>
</body>
</html>