Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] using "ocamlc -where" to find ocaml c headers"
2007 Oct 04
0
[LLVMdev] using "ocamlc -where" to find ocaml c headers
On Oct 3, 2007, at 01:28, Erick Tryzelaar wrote:
> I've got ocaml installed in a non-standard location, and while the
> svn version of llvm seems to detect my ocaml binaries, it doesn't
> seem add "ocamlc -where" to the c include search path. This causes
> bindings/ocaml/llvm/llvm_ocaml.c to error out unless I run "make
> CFLAGS=`ocamlc -where`".
2008 Mar 04
1
[LLVMdev] [PATCH] Cleanup the c and ocaml binding documentation.
---
bindings/ocaml/llvm/llvm.ml | 2 +-
bindings/ocaml/llvm/llvm.mli | 2 +-
bindings/ocaml/llvm/llvm_ocaml.c | 2 +-
include/llvm-c/Core.h | 32 +++++++++++++++++++-------------
4 files changed, 22 insertions(+), 16 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 316a84e85ed2363551149e65a227c8e7c8192624.diff
Type:
2008 Mar 04
5
[LLVMdev] [PATCH] Make sure ocamldep runs on all .mli files.
This is a small bug fix for the ocaml build system that allows
for dependencies to be generated for ocaml interface files.
---
bindings/ocaml/Makefile.ocaml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7c62c2cd93a6402e5f6ebd600e9e3ac7851b4d29.diff
Type: text/x-patch
Size: 994 bytes
Desc: not
2008 Mar 04
1
[LLVMdev] [PATCH] Prefer to use *.opt ocaml executables as they are more efficient.
I noticed that the ocaml compilation isn't using the .opt
executables if they're available. We might gain a slight
optimization in ocaml compile time by optionally using them
with this patch.
---
autoconf/configure.ac | 18 +++++
configure | 195 ++++++++++++++++++++++++++++++++++++++++++------
2 files changed, 188 insertions(+), 25 deletions(-)
-------------- next part
2008 Mar 04
0
[LLVMdev] [PATCH] Cleanup the c and ocaml binding documentation.
Hi Erick,
Thanks, this looks good. Can you please resubmit this patch, and the
others, as an attachment?
On Mar 4, 2008, at 03:19, Erick Tryzelaar wrote:
> ---
> bindings/ocaml/llvm/llvm.ml | 2 +-
> bindings/ocaml/llvm/llvm.mli | 2 +-
> bindings/ocaml/llvm/llvm_ocaml.c | 2 +-
> include/llvm-c/Core.h | 32 ++++++++++++++++++
> +-------------
2010 Mar 01
2
[LLVMdev] Tag number of OCaml Variant in executionengine
Another quick question.
In ./bindings/ocaml/Makefile.ocaml, the configurations when
ENABLE_OPTIMIZED<>1 are commented, which set -g flag to $(OCAMLC).
Is that for back-compatibility to support OCaml < 3.10.0?
On Sun, Feb 28, 2010 at 6:48 PM, Erick Tryzelaar
<idadesub at users.sourceforge.net> wrote:
> On Sun, Feb 28, 2010 at 8:38 AM, Jianzhou Zhao <jianzhou at
2010 Mar 02
0
[LLVMdev] Tag number of OCaml Variant in executionengine
On Mon, Mar 1, 2010 at 7:34 AM, Jianzhou Zhao <jianzhou at seas.upenn.edu> wrote:
> Another quick question.
> In ./bindings/ocaml/Makefile.ocaml, the configurations when
> ENABLE_OPTIMIZED<>1 are commented, which set -g flag to $(OCAMLC).
> Is that for back-compatibility to support OCaml < 3.10.0?
At the time, we were still supporting 3.09. It sounds like everyone's
2008 Mar 04
3
[LLVMdev] [PATCH] Cleanup the c and ocaml binding documentation.
On Mar 4, 2008, at 09:18, Gordon Henriksen wrote:
> Hi Erick,
>
> Thanks, this looks good. Can you please resubmit this patch, and the
> others, as an attachment?
>
> On Mar 4, 2008, at 03:19, Erick Tryzelaar wrote:
>
>> diff --git include/llvm-c/Core.h include/llvm-c/Core.h
>> index 9b11df5..3676377 100644
>> --- include/llvm-c/Core.h
>> +++
2008 Feb 21
2
[LLVMdev] llvm 2.2 install and ocaml bindings
I've run into a problem with the ocaml bindings and the jit. It builds
fine without the jit, but when I try to include it it tries to use the
c object files from the build location, instead of the install
location:
> llvm-config --libdir --libfiles engine
/opt/local/lib
/opt/local/lib/LLVMX86.o /opt/local/lib/libLLVMSelectionDAG.a
/opt/local/lib/libLLVMCodeGen.a
2006 Aug 25
4
[LLVMdev] updating the "Getting Started" page with more info about the gcc4 frontend
Chris Lattner wrote:
> Patches welcome. Please send a patch, or even just some suggested
> text, and we'll be happy to include it. Remember that the people who
> usually end up writing the FAQ's already know all the answers, so it's
> hard for us to see things from fresh perspectives sometimes :)
>
> -Chris
>
Actually, my request for more info in the
2010 Dec 21
2
[LLVMdev] LLVM installation in Windows
Hi everyone,
I am new in this field. I am trying to install LLVM in my 32-bit Windows XP. Can anyone please give a to do list for installing LLVM in my machine. When trying to build LLVM, I get the following error:
llvm[3]: Compiling llvm_ocaml.c for Debug build
In file included from D:\Program Files\Objective Caml\lib/caml/misc.h:24,
from D:\Program
2007 Oct 02
4
[LLVMdev] OCaml Install Error
On 2007-10-02, at 03:19, Gordon Henriksen wrote:
> On Oct 2, 2007, at 00:17, Bill Wendling wrote:
>
>> I get this error duing a "make install":
>>
>> llvm[3]: Installing Debug /usr/local/lib/ocaml/libllvm.a
>> install: /usr/local/lib/ocaml/libllvm.a: Permission denied
>> make[3]: *** [install-a] Error 71
>> make[2]: *** [install] Error 1
2006 Sep 02
0
[LLVMdev] updating the "Getting Started" page with more info about the gcc4 frontend
Erick Tryzelaar wrote:
> Actually, my request for more info in the "Getting Started" had some
> hidden questions, as I don't know the answer to them :) So to be a
> little more clear, here are the two I had:
>
> Does the gcc4 no longer need the "fixheaders" script that the gcc3.4
> frontends uses?
>
> Is it possible to install both the gcc4 and
2010 Sep 08
0
[LLVMdev] Compiling Errors in LLVM ocaml Bindings
Hi, Everyone,
I got a error when I try to compile LLVM 2.7, it is located in the ocaml
bindings file, showing like:
llvm[2]: Compiling llvm_ocaml.c for Release+Asserts build
In file included from C:\Objective Caml\lib/caml/misc.h:24,
from C:\Objective Caml\lib/caml/alloc.h:23,
from /home/leila/llvm/bindings/ocaml/llvm/llvm_ocaml.c:19:
In file included from
2007 Sep 12
7
[LLVMdev] C interface
Hi all,
I'm authoring a C interface to the LLVM IR type system. Since this is
Really Quite Tedious, I would like to solicit opinions before I get
too far down any paths that seem offensive. I've attached the header,
where I've mapped a portion of Module and most of Type and its
subclasses. This is working, and I've built ocaml bindings on top of
it.[1] My intent is to
2010 Feb 28
0
[LLVMdev] Tag number of OCaml Variant in executionengine
On Sun, Feb 28, 2010 at 8:38 AM, Jianzhou Zhao <jianzhou at seas.upenn.edu> wrote:
> Hi,
>
> At the code below from
> ./bindings/ocaml/executionengine/executionengine_ocaml.c,
> we create an OCaml Variant from C. It is from 2.6, the latest 2.7 has
> the same code.
>
> Line 240 Option = alloc(1, 1) assigns tag1 to the 'some' constructor.
> In term of
2010 Feb 28
2
[LLVMdev] Tag number of OCaml Variant in executionengine
Hi,
At the code below from
./bindings/ocaml/executionengine/executionengine_ocaml.c,
we create an OCaml Variant from C. It is from 2.6, the latest 2.7 has
the same code.
Line 240 Option = alloc(1, 1) assigns tag1 to the 'some' constructor.
In term of http://caml.inria.fr/pub/docs/manual-ocaml/manual032.html,
I think the 'some' should have a tag 0. We dont have a runtime error
for
2011 May 09
1
[PATCH] Don't rely on OCaml native compiler for tests
This should make it possible to build useful OCaml bindings on
architectures other than i386 and amd64 (Debian bug #589809).
---
ocaml/Makefile.am | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/ocaml/Makefile.am b/ocaml/Makefile.am
index b3f5e14..b9451e3 100644
--- a/ocaml/Makefile.am
+++ b/ocaml/Makefile.am
@@ -46,7 +46,7 @@ hivex_c.o:
2011 May 11
3
[PATCH 1/3] hivex: Use OCaml bytecode compiler for caml_raise_with_args check
From: Hilko Bengen <bengen at hilluzination.de>
On installations where no native OCaml compiler is available, the
test program can't be compiled and so we get this message:
,----
| checking for function caml_raise_with_args... not found
`----
This breaks building of the OCaml bindings.
,----
| gcc -std=gnu99 -I.. -I/usr/lib/ocaml -I../ocaml -I../lib -g -O2 -fPIC -Wall -c hivex_c.c
2008 Mar 16
0
[LLVMdev] improving the ocaml binding's type safety
On Sat, Mar 15, 2008 at 7:33 PM, Gordon Henriksen
<gordonhenriksen at mac.com> wrote:
> After some experimentation, I'd prefer the closed system. LLVM has some type
> peculiarities like the commonality between CallInst and InvokeInst. I find
> that the closed type system lets me express such constraints more naturally.
> Expressing these constraints explicitly in the open