vezenchio has quit ["Ayn Rand encapsulates the rage that every teenager feels on finding that his first paycheque has had taxes taken out of it"]
shammah has joined #ocaml
andrae has joined #ocaml
shammah has quit [Client Quit]
andrae has left #ocaml []
andrae has joined #ocaml
andrae has left #ocaml []
andrae has joined #ocaml
andrae has quit [Remote closed the connection]
shammah has joined #ocaml
monochrom has joined #ocaml
JInterest has joined #ocaml
Sonarman has joined #ocaml
monochrom has quit ["me!"]
ulfdoz has quit [Read error: 145 (Connection timed out)]
JInterest has quit ["Chatzilla 0.9.68a [Firefox 1.0.4/20050511]"]
angagon has joined #ocaml
<araujo>
is this correct for using the Unix lib from the top-level? araujo@dC9F335CF Ocaml $ ocaml unix.cma
<mflux>
yes
<mflux>
but you can just do #load "unix.cma";; if you wish
<araujo>
yeah, tahts what im reading in the library mflux
<araujo>
But i keep getting this when i try to use the PF_INET constructor:
<araujo>
# Unix.socket PF_INET SOCK_STREAM 0;;
<araujo>
Unbound constructor PF_INET
<mflux>
Unix.PF_INET..
<araujo>
oh.. true
bk_ has quit ["Leaving IRC - dircproxy 1.1.0"]
<araujo>
mflux: also, i was asking this question earlier on, ive heard there is a gtk library for ocaml, does it have the same API than the defaul graphics library, which is on tk right?
<mflux>
note the same thing for records too (but you only need to annotate the first field with the module name)
<mflux>
if you mean graphics.cma, I think it's raw X11
<araujo>
yes, i meant that
<mflux>
lablgtk2 (?) is a user interface library, and yes, it's different from the tk one, I think :)
<araujo>
ok, that's the one for gtk then,. thanks mflux
<mflux>
I also think there is a labltk or something
<mflux>
as you might guess I haven't much used those
<araujo>
hah :-)
Sonarman has quit ["leaving"]
Submarine has joined #ocaml
__DL__ has joined #ocaml
rt has left #ocaml []
Submarine has quit ["Leaving"]
Snark has joined #ocaml
mlh has quit [Client Quit]
mlh has joined #ocaml
mlh has quit [Client Quit]
<Snark>
slt
pango has quit [Read error: 104 (Connection reset by peer)]
ulfdoz has joined #ocaml
<ulfdoz>
re
shammah has quit ["Leaving"]
Herrchen has joined #ocaml
_shawn has joined #ocaml
TeXitoi_ has quit [Read error: 104 (Connection reset by peer)]
shawn_ has quit [Read error: 110 (Connection timed out)]
TeXitoi has joined #ocaml
Submarine has joined #ocaml
Submarine has quit ["Leaving"]
irc_sprout has joined #ocaml
<irc_sprout>
I am art, thank you for my presence
<mellum>
no problem
<araujo>
Morning!
<araujo>
is 'ocalmopt' equal to 'ocalmc -custom' ?
<mrvn>
opt usualy denotes the binary is optimized (binary) instead of bytecode iirc.
<araujo>
mrvn: i thought that was when it had .opt as an extension
<mrvn>
mrvn@frosties:~% file =ocamlopt
<mrvn>
/usr/bin/ocamlopt: a /usr/bin/ocamlrun script text executable
<mrvn>
looks like bytecode
<mrvn>
mrvn@frosties:~% file =ocamlopt.opt
<mrvn>
/usr/bin/ocamlopt.opt: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), stripped
irc_sprout has quit [Read error: 131 (Connection reset by peer)]
<mrvn>
ocamlc makes bytecode, ocamlopt binary code. And ocamlopt.opt is the optimized binary to make bianries.
mrvn_ has joined #ocaml
<araujo>
Yeah
<araujo>
But question is... mmm
<araujo>
my question is if they produce the same result?
<araujo>
mm, wait
<araujo>
Im sort of confused here...
<araujo>
ocalmc -custom produces a standalone executable using the bytecod/interpreter and ocalmopt just translates straight to native code?
mrvn has quit [Read error: 60 (Operation timed out)]
<mrvn_>
yes.
<Snark>
re
* Snark
would need an ocaml-gettext package for debian
<mrvn_>
I think someone made a ITP for it.
senko has joined #ocaml
<senko>
hi, i'm getting a segfault
<senko>
anyone wants to verify it?
pango has joined #ocaml
pango has quit [Read error: 60 (Operation timed out)]
pango has joined #ocaml
pango has quit [Remote closed the connection]
<slashvar[lri]>
Hi there
johs has joined #ocaml
bk_ has joined #ocaml
<senko>
hi
pango has joined #ocaml
_fab has joined #ocaml
Aradorn has joined #ocaml
Skal_ has joined #ocaml
Skal_ has quit ["Client exiting"]
cjohnson has joined #ocaml
Bonedigger has joined #ocaml
Bonedigger has quit [Read error: 104 (Connection reset by peer)]