flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 4.01.0 http://bit.ly/1851A3R | http://www.ocaml.org | Public logs at http://tunes.org/~nef/logs/ocaml/
sheijk has joined #ocaml
Xenasis has joined #ocaml
sheijk has quit [Ping timeout: 272 seconds]
nikki93_ has quit [Remote host closed the connection]
tobiasBora has quit [Quit: Konversation terminated!]
tovarish has quit [Quit: Leaving]
Xenasis has quit [Remote host closed the connection]
nikki93 has joined #ocaml
avsm has joined #ocaml
nikki93 has quit [Remote host closed the connection]
Simn has quit [Quit: Leaving]
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 250 seconds]
Xenasis has joined #ocaml
sheijk has joined #ocaml
pyon has joined #ocaml
sheijk has quit [Ping timeout: 272 seconds]
sheijk has joined #ocaml
marky has joined #ocaml
michael_lee has joined #ocaml
Xenasis has quit [Remote host closed the connection]
wolfnn has quit [Ping timeout: 252 seconds]
kyrylo has quit [Ping timeout: 248 seconds]
ygrek has joined #ocaml
osa1 has quit [Quit: Konversation terminated!]
avsm has quit [Quit: Leaving.]
root_empire has joined #ocaml
michael_lee has quit [Ping timeout: 240 seconds]
yacks has quit [Ping timeout: 252 seconds]
yacks has joined #ocaml
pyon has quit [Remote host closed the connection]
pyon has joined #ocaml
pyon has quit [Remote host closed the connection]
talzeus_ has joined #ocaml
yacks has quit [Read error: Operation timed out]
pango has quit [Ping timeout: 272 seconds]
swistak35 has quit [Ping timeout: 264 seconds]
thizanne has quit [Ping timeout: 245 seconds]
swistak35 has joined #ocaml
ggole has joined #ocaml
yacks has joined #ocaml
ygrek has quit [Ping timeout: 248 seconds]
sheijk has quit [Ping timeout: 248 seconds]
CalimeroTeknik has quit [Ping timeout: 246 seconds]
CalimeroTeknik has joined #ocaml
shinnya has joined #ocaml
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 252 seconds]
thizanne has joined #ocaml
Eyyub has quit [Ping timeout: 272 seconds]
sheijk has joined #ocaml
pango has joined #ocaml
pango has quit [Ping timeout: 272 seconds]
pango has joined #ocaml
sheijk has quit [Ping timeout: 272 seconds]
ollehar has quit [Ping timeout: 265 seconds]
nikki93 has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest54017
yacks has quit [Ping timeout: 250 seconds]
Arsenik has joined #ocaml
blAckEn3d has joined #ocaml
<blAckEn3d> hey, I'm using ocaml 4.01.0 from opam and I can't figure out how to install the llvm ocaml bindings from a custom llvm build (3.4)
<blAckEn3d> does anyone have experience with that?
<whitequark> blAckEn3d: "make install" would work :)
<whitequark> personally I use this to avoid installing:
<whitequark> export OCAMLPATH=$LLVM/lib/ocaml/:${OCAMLPATH}
<whitequark> export CAML_LD_LIBRARY_PATH=$LLVM/lib/ocaml:${CAML_LD_LIBRARY_PATH}
<blAckEn3d> @whitequark: make install tries to install them in /usr/local/lib/ocaml, which doesn't seem to work
<blAckEn3d> I manually eddited the Makefile to install the bindings to $HOME/.opam/4.01.0/lib/, and then they show up in ocamlfind list
<blAckEn3d> but that still doesn't work
<blAckEn3d> ocamlfind ocamlc -package llvm test.ml -o test gives Reference to undefined global `Llvm'
<whitequark> blAckEn3d: configure LLVM with --prefix=$HOME/.opam/4.01.0
<blAckEn3d> @whitequark: thanks, I'll try that :)
<whitequark> feel free to poke me if it doesn't work for you, I'm the maintainer of the bindings
<blAckEn3d> @whitequark: thanks. will do I anything else fails. BTW, thanks for the great work you're doing on the bindings
<whitequark> you're welcome
sheijk has joined #ocaml
Guest54017 has quit [Remote host closed the connection]
nikki93 has quit [Remote host closed the connection]
sheijk has quit [Ping timeout: 272 seconds]
ulfdoz has joined #ocaml
pminten has joined #ocaml
letoh has quit [Read error: Connection reset by peer]
angerman has joined #ocaml
zpe has joined #ocaml
wolfnn has joined #ocaml
zpe has quit [Remote host closed the connection]
Simn has joined #ocaml
ollehar has joined #ocaml
rwmjones has quit [Read error: Operation timed out]
jonludlam has joined #ocaml
jonludlam has quit [Ping timeout: 240 seconds]
jonludlam has joined #ocaml
rwmjones has joined #ocaml
smerz has joined #ocaml
kyrylo has joined #ocaml
blAckEn3d has quit [Quit: Computer has gone to sleep.]
blAckEn3d has joined #ocaml
blAckEn3d has quit [Ping timeout: 252 seconds]
Eyyub has joined #ocaml
Eyyub has quit [Ping timeout: 252 seconds]
yacks has joined #ocaml
yacks has quit [Max SendQ exceeded]
yacks has joined #ocaml
yacks has quit [Max SendQ exceeded]
yacks has joined #ocaml
ygrek has joined #ocaml
Oejet has joined #ocaml
Oejet has quit [Max SendQ exceeded]
Oejet has joined #ocaml
Oejet has quit [Max SendQ exceeded]
Oejet has joined #ocaml
Oejet has quit [Max SendQ exceeded]
zpe has joined #ocaml
Oejet has joined #ocaml
Oejet has quit [Max SendQ exceeded]
zpe has quit [Ping timeout: 272 seconds]
Oejet has joined #ocaml
Oejet has quit [Max SendQ exceeded]
Oejet has joined #ocaml
Oejet has quit [Max SendQ exceeded]
Oejet has joined #ocaml
Oejet has quit [Max SendQ exceeded]
angerman has quit [Quit: Gone]
Eyyub has joined #ocaml
Oejet has joined #ocaml
Oejet has quit [Max SendQ exceeded]
mort___ has joined #ocaml
Oejet has joined #ocaml
Oejet has quit [Max SendQ exceeded]
Oejet has joined #ocaml
Oejet has quit [Max SendQ exceeded]
Eyyub has quit [Ping timeout: 264 seconds]
mort___ has quit [Quit: Leaving.]
q66_ has joined #ocaml
q66 has quit [Disconnected by services]
q66_ is now known as q66
dant3 has joined #ocaml
blAckEn3d has joined #ocaml
angerman has joined #ocaml
pminten has quit [Quit: Leaving]
angerman has quit [Quit: Gone]
mcclurmc has joined #ocaml
darkf has quit [Quit: Leaving]
zpe has joined #ocaml
Eyyub has joined #ocaml
dant3 has quit [Remote host closed the connection]
dant3 has joined #ocaml
zpe has quit [Ping timeout: 252 seconds]
pango has quit [Ping timeout: 252 seconds]
mcclurmc has quit [Remote host closed the connection]
MigX has joined #ocaml
<MigX> Hi guys, what's the standard way for installing an ocaml environment on the RHEL / CentOS platform? :)
mcclurmc has joined #ocaml
tovarish has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
pango has joined #ocaml
q66 has quit [Ping timeout: 246 seconds]
q66 has joined #ocaml
pango has quit [Ping timeout: 246 seconds]
mcclurmc has joined #ocaml
tovarish has quit [Quit: Leaving]
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
talzeus_ has quit [Read error: Connection reset by peer]
talzeus_ has joined #ocaml
tovarish has joined #ocaml
manizzle has quit [Ping timeout: 265 seconds]
blAckEn3d has quit [Quit: Computer has gone to sleep.]
blAckEn3d has joined #ocaml
smerz has quit [Ping timeout: 250 seconds]
sheijk has joined #ocaml
blAckEn3d has quit [Ping timeout: 240 seconds]
palomer has joined #ocaml
blAckEn3d has joined #ocaml
angerman has joined #ocaml
Simn has quit [Quit: Leaving]
sillyotter has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
blAckEn3d has quit [Ping timeout: 240 seconds]
niko has left #ocaml []
tovarish has quit [Quit: Leaving]
tovarish has joined #ocaml
root_empire has quit [Quit: Ex-Chat]
avsm has joined #ocaml
zpe has joined #ocaml
milosn_ has joined #ocaml
milosn has quit [Read error: Connection reset by peer]
mort___ has joined #ocaml
mort___ has left #ocaml []
michael_lee has joined #ocaml
zarul has quit [Remote host closed the connection]
milosn_ is now known as milosn
Xenasis has joined #ocaml
sillyotter has quit [Quit: Leaving]
zpe_ has joined #ocaml
zpe has quit [Ping timeout: 264 seconds]
nikki93 has joined #ocaml
mcclurmc has joined #ocaml
milosn_ has joined #ocaml
milosn has quit [Read error: Connection reset by peer]
Eyyub has quit [Read error: Operation timed out]
zarul has joined #ocaml
shinnya has quit [Ping timeout: 252 seconds]
Kakadu has joined #ocaml
michael_lee has quit [Remote host closed the connection]
Simn has joined #ocaml
demonimin has quit [Ping timeout: 240 seconds]
demonimin has joined #ocaml
jgw25 has joined #ocaml
<jgw25> If I add functions to pervasives.ml / .mli, how do I recompile the compiler successfully? make world and make bootstrap both fail - some old Pervasives.cmi is being produced...
lasts_ has joined #ocaml
ygrek has quit [Ping timeout: 252 seconds]
talzeus_ has quit [Remote host closed the connection]
ulfdoz has quit [Ping timeout: 272 seconds]
lasts has quit [Ping timeout: 246 seconds]
nikki93 has quit [Read error: Connection reset by peer]
boogie has joined #ocaml
talzeus_ has joined #ocaml
nikki93 has joined #ocaml
<gasche_> jgw25: I don't get it, what's your compilation workflow?
pminten has joined #ocaml
<adrien> jgw25: and do you intend to use these functions inside the compiler?
<jgw25> I don't intend to use them inside the compiler.
Xenasis has quit [Remote host closed the connection]
<jgw25> I first used make inside stdlib/ to check it locally. That compiles fine. Now I'd like to build ocaml as normal with Pervasives augmented with these two functions.
<jgw25> This is my first time doing playing with the compiler sources in any serious way.
<jgw25> So I don't know what the usual workflow is.
zpe_ has quit [Read error: Connection reset by peer]
<jgw25> Is there an introductory document on compiler hacking? Google didn't turn anything up.
mcclurmc has quit [Remote host closed the connection]
<adrien> I don't think there's anything; however there is nothing special to do to achieve what you want
kyrylo has quit [Ping timeout: 250 seconds]
<gasche_> hm
<adrien> however it's quite likely your build is mixing files from before and after your change
mcclurmc has joined #ocaml
<gasche_> I just tested and it seems indeed that otherlibs/ will use the old pervasives.cmi
<jgw25> I did a clean in between. Is there some sort of super-clean needed?
travisbrady has joined #ocaml
<gasche_> jgw25: it's probably rather that you need to reproduce your changes in otherlibs/thread/pervasives.ml
<jgw25> Ah, I see.
<jgw25> I'll give it a go.
<tovarish> jgw25, I was doing the test and I got the same error than you
<tovarish> I'm looking to understand
mcclurmc has quit [Ping timeout: 250 seconds]
<jgw25> otherlibs/threads/pervasives.ml is an altered version of pervasives with changes to blocking
avsm has quit [Quit: Leaving.]
<jgw25> Presumably otherlibs/threads/pervasives.mli is copied automatically from stdlib/pervasives.mli but the old .cmi is being used
<jgw25> since the .mli files should be identical
zpe has joined #ocaml
<gasche_> the .mli and .cmi are copied from stdlib/
<gasche_> but the .ml is compiled and must match this interface
<jgw25> Got it.
<gasche_> if you edit both pervasives.ml, then "make world" should compile fine (possibly after a clean)
<jgw25> It's built fine now. Thanks for the help.
<gasche_> out of curiosity, what are you trying to add to Pervasives?
<jgw25> Bug 5443. I opened it this time last year, and I thought I ought to have a go and making some patches, since I have spare time at Christmas.
avsm has joined #ocaml
ulfdoz has joined #ocaml
palomer has quit [Ping timeout: 272 seconds]
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
nikki93 has quit [Ping timeout: 252 seconds]
milosn_ has quit [Ping timeout: 252 seconds]
avsm has quit [Quit: Leaving.]
smerz has joined #ocaml
avsm has joined #ocaml
zpe has quit [Remote host closed the connection]
tovarish has quit [Quit: Leaving]
<jgw25> Ah, I spoke too soon. Upon running the new top level, I see "Fatal error: exception Env.Error()"
nikki93 has joined #ocaml
tovarish has joined #ocaml
mfp has quit [Read error: Connection reset by peer]
mfp has joined #ocaml
cesar_ has joined #ocaml
talzeus_ has quit [Read error: Connection reset by peer]
cesar_ is now known as Guest53209
CamelFodder has joined #ocaml
travisbrady has quit [Quit: travisbrady]
nikki93 has quit [Remote host closed the connection]
pminten has quit [Remote host closed the connection]
<angerman> anyone know what's the state about integrating a backend targeting arm into the mainline ocaml compilier is? psellos has those patches, but there seems to be no clear notice if that is going to be incorporated or not...
<adrien> there is already an arm backend
<adrien> psellos patches brought a few more specific things but fairly small for the backend part
<adrien> was maybe about hard float
<adrien> afaik, that's good now
Guest53209 has quit [Remote host closed the connection]
<avsm> angerman: dsheets has an opam remote. still needs some work
<avsm> note that this is cross compilation, not arm. There's been native ARM for years...
<angerman> avsm: yes, cross compiling.
<angerman> I'm pondering about building a library and using in on iOS, but therefore I'd need to be able to create an arm lib.
<angerman> so in theory, I could compile ocaml /on/ an ARM device to produce arm code?
<sheijk> is there cross compilation support in ocamlopt now? so could i use the x86_64 build to generate x86 code?
pango has joined #ocaml
<adrien> no
<adrien> easier for now for that case is to run a multilib system and build a native x86 -> x86 compiler; it will be able to run on x86_64
<adrien> tbh, I don't see cross-compilation getting anywhere before the layout of the compiler stops changing
<adrien> (labltk moved, camlp4 moved, what next?)
<sheijk> adrien: yep, that's what i currently have. a custom 32-bit version of ocaml 3.12 (because i can't get the newer versions to build for x86 on os x). had hoped to be able to replace that :)
<adrien> ah, OS X, I see :D
zpe has joined #ocaml
tovarish has quit [Quit: Leaving]
bicgena has quit [Ping timeout: 260 seconds]
ttamttam has joined #ocaml
zpe has quit [Ping timeout: 248 seconds]
bicgena has joined #ocaml
rand000 has joined #ocaml
mcclurmc has joined #ocaml
mcclurmc has quit [Ping timeout: 240 seconds]
ttamttam has quit [Quit: ttamttam]
ggole has quit []
bobry_ has joined #ocaml
bobry has quit [Ping timeout: 252 seconds]
bobry_ is now known as bobry
palomer has joined #ocaml
tane has joined #ocaml
mort___ has joined #ocaml
sheijk has quit [Ping timeout: 272 seconds]
dant3_ has joined #ocaml
dch has quit [Ping timeout: 246 seconds]
dch has joined #ocaml
tane has quit [Quit: Verlassend]
dant3 has quit [Ping timeout: 272 seconds]
blAckEn3d has joined #ocaml
palomer has quit [Read error: Operation timed out]
mort___ has left #ocaml []
CamelFodder has quit [Remote host closed the connection]
zpe has joined #ocaml
Arsenik has quit [Ping timeout: 246 seconds]
zpe has quit [Ping timeout: 264 seconds]
jgw25 has quit [Ping timeout: 272 seconds]
Arsenik has joined #ocaml
zpe has joined #ocaml
blAckEn3d has quit [Quit: Lingo - http://www.lingoirc.com]
boogie has quit [Remote host closed the connection]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 246 seconds]
jzelinskie has quit [Ping timeout: 246 seconds]
osa1 has joined #ocaml
dch has quit [Ping timeout: 246 seconds]
xkb has quit [Ping timeout: 246 seconds]
bicgena has quit [Ping timeout: 264 seconds]
sheijk has joined #ocaml
bicgena has joined #ocaml
dch has joined #ocaml
jzelinskie has joined #ocaml
xkb has joined #ocaml
sheijk has quit [Ping timeout: 248 seconds]
sillyotter has joined #ocaml
CamelFodder has joined #ocaml
manud has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest75502
Guest75502 has quit [Remote host closed the connection]
avsm has quit [Quit: Leaving.]
CamelFodder has quit [Remote host closed the connection]
Xenasis has joined #ocaml
milosn has joined #ocaml
sheijk has joined #ocaml
palomer has joined #ocaml
sheijk has quit [Ping timeout: 240 seconds]
Xenasis has quit [Remote host closed the connection]
Xenasis has joined #ocaml
zpe has joined #ocaml
travisbrady has joined #ocaml
avsm has joined #ocaml
Eyyub has joined #ocaml
avsm has quit [Quit: Leaving.]
tlockney has quit [Excess Flood]
tlockney has joined #ocaml
nikki93 has joined #ocaml
travisbrady has quit [Quit: travisbrady]
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 272 seconds]
sheijk has joined #ocaml
Kakadu has quit []
sheijk has quit [Ping timeout: 252 seconds]
sheijk has joined #ocaml
Xenasis has quit [Remote host closed the connection]
sheijk has quit [Ping timeout: 272 seconds]
ulfdoz has quit [Ping timeout: 260 seconds]
angerman has quit [Quit: Gone]
sheijk has joined #ocaml
mort___ has joined #ocaml
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
sheijk has quit [Ping timeout: 272 seconds]
palomer has quit [Ping timeout: 246 seconds]
Axord has quit [Ping timeout: 245 seconds]
sillyotter has quit [Quit: Leaving]
sheijk has joined #ocaml
Arsenik has quit [Remote host closed the connection]
ollehar has quit [Read error: Operation timed out]
sheijk has quit [Ping timeout: 240 seconds]
rwmjones has quit [Read error: Operation timed out]
rwmjones has joined #ocaml
Eyyub has quit [Ping timeout: 252 seconds]
shinnya has joined #ocaml
darkf has joined #ocaml
ollehar has joined #ocaml
rand000 has quit [Quit: leaving]
wolfnn has quit [Ping timeout: 248 seconds]
ollehar has quit [Ping timeout: 260 seconds]
nikki93 has quit [Ping timeout: 252 seconds]
sheijk has joined #ocaml
sheijk has quit [Ping timeout: 264 seconds]
smerz has quit [Ping timeout: 250 seconds]
boogie has joined #ocaml
CamelFodder has joined #ocaml
sheijk has joined #ocaml
boogie has quit [Remote host closed the connection]
palomer has joined #ocaml
sheijk has quit [Ping timeout: 260 seconds]
sheijk has joined #ocaml
nikki93 has joined #ocaml
palomer has quit [Ping timeout: 264 seconds]
nikki93 has quit [Remote host closed the connection]
nikki93 has joined #ocaml
madroach has quit [Ping timeout: 252 seconds]
zRecursive has joined #ocaml
madroach has joined #ocaml
nikki93 has quit [Ping timeout: 260 seconds]
milosn has quit [Read error: Operation timed out]
zRecursive has left #ocaml []