Produce CIL from C/C++

68 views
Skip to first unread message

larry_rix

unread,
Sep 8, 2015, 8:32:40 AM9/8/15
to eiffel_...@yahoogroups.com

Does anyone know how to produce CIL from C/C++ source code files?

Also, is CIL a single file or collection of files? Is there a root?



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/eiffel_software/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/eiffel_software/join
(Yahoo! ID required)

<*> To change settings via email:
eiffel_soft...@yahoogroups.com
eiffel_softwar...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
eiffel_softwa...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

Fernando Pelliccioni

unread,
Sep 8, 2015, 8:32:50 AM9/8/15
to eiffel_...@yahoogroups.com

To generate CIL ( Microsoft .Net Framework) you could use Visual Studio
2005 to 2010.
Create a "Visual C++" / "CLR" project.
The language is called C++/CLI.

Regards,
Fernando.

On Wed, Aug 22, 2012 at 11:09 PM, larry_rix <ljr...@msn.com> wrote:

> **
>
>
> Does anyone know how to produce CIL from C/C++ source code files?
>
> Also, is CIL a single file or collection of files? Is there a root?
>
>
>


[Non-text portions of this message have been removed]

LARRY RIX

unread,
Sep 8, 2015, 8:33:00 AM9/8/15
to eiffel_...@yahoogroups.com


Hello Fernando!
Thank you for responding. I think the following documentation agrees with you. There appears to be a step-by-step:
http://www.cs.berkeley.edu/~necula/cil/
Specifically, look to the Section 2 - Installation. There is refers to building the cilly.exe using Visual Studio.
However, I am now on Linux, but do not see any Linux instructions. I will keep looking. If nothing turns up, then I will complete the process in Windows first to ensure it at least works and I am able to get to the CIL for processing by the C2Eif from Marco Trudel.
Thanks again!Larry Rix

> To: eiffel_...@yahoogroups.com
> From: fpelli...@gmail.com
> Date: Wed, 22 Aug 2012 23:31:23 -0300
> Subject: Re: [eiffel_software] Produce CIL from C/C++

Marco Trudel

unread,
Sep 8, 2015, 8:33:10 AM9/8/15
to eiffel_...@yahoogroups.com, LARRY RIX

Hehehe... Fernando talks about CIL [1] while Larry is talking about CIL
[2]. These are two completely different things.
Larry, I would suggest to ask questions about CIL on the CIL users
mailinglist [3], not on the Eiffel users mailinglist. But the CIL
documentation is actually quite good, I guess it already explains how to
use CIL. But since you want to use C2Eif [4], maybe it's website already
explains how to use CIL. Well, ok, I know it does ;-) The manual section
says:
# 1. Preprocess your C project with CIL.
# This is usually as simple as
# configure; make CC="cilly --merge --save-temps"
# but sometimes you have to help CIL a little. Running make on a
# project foo should give you a foo binary (or foo.a library) and
# the merged C file foo.cil.c.

Cheers!
Marco

[1] http://en.wikipedia.org/wiki/Common_Intermediate_Language
[2] http://www.cs.berkeley.edu/~necula/cil/
[3] https://lists.sourceforge.net/lists/listinfo/cil-users
[4] http://se.inf.ethz.ch/research/c2eif/


On 08/23/2012 04:38 AM, LARRY RIX wrote:
>
> Hello Fernando!
> Thank you for responding. I think the following documentation agrees
> with you. There appears to be a step-by-step:
> http://www.cs.berkeley.edu/~necula/cil/
> Specifically, look to the Section 2 - Installation. There is refers to
> building the cilly.exe using Visual Studio.
> However, I am now on Linux, but do not see any Linux instructions. I
> will keep looking. If nothing turns up, then I will complete the process
> in Windows first to ensure it at least works and I am able to get to the
> CIL for processing by the C2Eif from Marco Trudel.
> Thanks again!Larry Rix
>
> > To: eiffel_...@yahoogroups.com
> <mailto:eiffel_software%40yahoogroups.com>
> > From: fpelli...@gmail.com <mailto:fpelliccioni%40gmail.com>

LARRY RIX

unread,
Sep 8, 2015, 8:33:30 AM9/8/15
to eiffel_...@yahoogroups.com


LOL ... Marco you've made me laugh all morning!
Yes, after some more research, I was concluding that CIL [1] and CIL [2] were indeed two completely different animals. :-)
Thank you for the excellent feedback and pointers. I will follow up with them this evening when I get back to my home-development machine.
Have a super day!Larry
> To: eiffel_...@yahoogroups.com
> CC: ljr...@msn.com
> From: ma...@mtsystems.ch
> Date: Thu, 23 Aug 2012 09:18:24 +0200

Fernando Pelliccioni

unread,
Sep 8, 2015, 8:33:40 AM9/8/15
to eiffel_...@yahoogroups.com

I think you could use http://monodevelop.com/ on Linux.
I don't know if supports C++/CLI
Any questions feel free to ask me.

Regards,
Fernando.

On Wed, Aug 22, 2012 at 11:38 PM, LARRY RIX <ljr...@msn.com> wrote:

> **

Fernando Pelliccioni

unread,
Sep 8, 2015, 8:33:50 AM9/8/15
to eiffel_...@yahoogroups.com

Hehehe, I suspected that perhaps we were talking about different things.
Thanks for the clarification!

Regards,
Fernando.
Reply all
Reply to author
Forward
0 new messages