search for: michaeldmcdonnell

Displaying 9 results from an estimated 9 matches for "michaeldmcdonnell".

2008 Oct 11
0
[LLVMdev] C++ to C?
...st interested in a tool that will help teach how a processor works.   Can LLVM help, or am I completely off track?   Thanks, M. McDonnell --- On Sat, 10/11/08, Daniel Dunbar <daniel at zuster.org> wrote: From: Daniel Dunbar <daniel at zuster.org> Subject: Re: [LLVMdev] C++ to C? To: michaeldmcdonnell at yahoo.com, "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> Cc: "Duncan Sands" <baldrick at free.fr> Date: Saturday, October 11, 2008, 1:18 PM Hi Michael, On Sat, Oct 11, 2008 at 12:44 PM, Michael McDonnell <michaeldmcdonnell at yahoo.com> wrote:...
2008 Oct 11
5
[LLVMdev] C++ to C?
Hi Michael, On Sat, Oct 11, 2008 at 12:44 PM, Michael McDonnell < michaeldmcdonnell at yahoo.com> wrote: > > > My assumption has been that LLVM generates machine code for a virtual > machine, and that you supply an interpreter that will execute the code. > The name can be somewhat confusing. LLVM is a lot of things, the web page gives some important areas (http:...
2008 Oct 11
1
[LLVMdev] C++ to C?
...MIX backend for gcc available. Also, although it isn't a virtual machine, the MIPS architecture is relatively simple and regular, and thus has been commonly used educationally as an introduction to machine architecture and code generation. On Sat, Oct 11, 2008 at 1:28 PM, Michael McDonnell <michaeldmcdonnell at yahoo.com> wrote: > Hi Daniel, > > Thanks for your help. > > You mentioned that "the current interpreter makes no pretense of running on > a "virtual machine"", but isn't the interpreter itself a virtual machine? > I'm not looking to emulate an...
2008 Oct 11
2
[LLVMdev] C++ to C?
...w LLVM would fit. http://pages.cs.wisc.edu/~larus/spim.html - Daniel > Thanks, > M. McDonnell > > > --- On *Sat, 10/11/08, Daniel Dunbar <daniel at zuster.org>* wrote: > > From: Daniel Dunbar <daniel at zuster.org> > Subject: Re: [LLVMdev] C++ to C? > To: michaeldmcdonnell at yahoo.com, "LLVM Developers Mailing List" < > llvmdev at cs.uiuc.edu> > Cc: "Duncan Sands" <baldrick at free.fr> > Date: Saturday, October 11, 2008, 1:18 PM > > > Hi Michael, > > On Sat, Oct 11, 2008 at 12:44 PM, Michael McDonnell < &gt...
2008 Oct 11
0
[LLVMdev] C++ to C?
...ing like MS Visual Studio with that executes on a virtual software machine, whose source code is freely available.   Thanks, M. McDonnell --- On Sat, 10/11/08, Daniel Dunbar <daniel at zuster.org> wrote: From: Daniel Dunbar <daniel at zuster.org> Subject: Re: [LLVMdev] C++ to C? To: michaeldmcdonnell at yahoo.com Cc: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> Date: Saturday, October 11, 2008, 1:56 PM I realized I missed this part of your email: Can LLVM help, or am I completely off track? It isn't clear to me yet. I have used LLVM for a different but...
2008 Oct 11
0
[LLVMdev] C++ to C?
...appreciate hearing them. I know about the various PC emulators like BOCHS, but they're doing a lot more than I need.   Thanks, M. McDonnell --- On Sat, 10/11/08, Duncan Sands <baldrick at free.fr> wrote: From: Duncan Sands <baldrick at free.fr> Subject: Re: [LLVMdev] C++ to C? To: michaeldmcdonnell at yahoo.com Cc: llvmdev at cs.uiuc.edu Date: Saturday, October 11, 2008, 12:25 PM Hi Michael, > Thank you very much for your help. I have a few more questions if you have a moment... > > * Are there executables available for windows? I think so, but since I don't use windows I ca...
2008 Oct 11
3
[LLVMdev] C++ to C?
Hi Michael, > Thank you very much for your help. I have a few more questions if you have a moment... > > * Are there executables available for windows? I think so, but since I don't use windows I can't say for sure. > * Is the source code for the interpreter available, and if so, what is/are the filename(s)? Sure, all source code is available: this is an open source
2008 Oct 11
1
[LLVMdev] C++ to C?
On Oct 11, 2008, at 12:49 AM, Duncan Sands wrote: > On Friday 10 October 2008 20:29:49 Michael wrote: >> What command and options should be used to convert C++ to C? > > Try this: > > llvm-gcc -c -O3 -emit-llvm file.cpp -o - | llc -march=c -o - > > It should spray C code to standard out. Bear in mind that if you use features from the C++ library, you are still going
2008 Oct 10
3
[LLVMdev] C++ to C?
What command and options should be used to convert C++ to C? Thanks