vect changed the topic of #ocaml to: OCaml 3.07 ! -- Archive of Caml Weekly News: http://pauillac.inria.fr/~aschmitt/cwn, ICFP'03 http://www.icfpcontest.org/, A tutorial: http://merjis.com/richj/computers/ocaml/tutorial/, A free book: http://cristal.inria.fr/~remy/cours/appsem, Mailing List (best ml ever for any computer language): http://caml.inria.fr/bin/wilma/caml-list
lus|wazze has quit ["Copyright is a temporary loan from the public domain, not property"]
Kinners has joined #ocaml
Kinners has quit [Remote closed the connection]
Kinners has joined #ocaml
polin8 has quit [Read error: 54 (Connection reset by peer)]
polin8 has joined #ocaml
polin8 has quit [Read error: 104 (Connection reset by peer)]
clam has quit ["no reason"]
polin8 has joined #ocaml
Kinners has quit [Remote closed the connection]
polin8 has quit [Remote closed the connection]
polin8 has joined #ocaml
lam__ has quit [Remote closed the connection]
mkorman has joined #ocaml
<mkorman> hi. i am trying to produce a native executable with ocamlopt and get this error
<mkorman> gcc: /usr/lib/ocaml/3.07/str.o: No such file or directory
<mkorman> gcc: /usr/lib/ocaml/3.07/unix.o: No such file or directory
<mkorman> these .o files do not exist in debian. if i need them how do i produce them from the .cmx files?
* Smerdyakov shrugs.
mkorman has quit ["Client exiting"]
DavidW2 has joined #ocaml
<DavidW2> hi.
<DavidW2> do i need .o files to use ocamlopt?
<smkl> DavidW2: yes
<DavidW2> how do i build them?
<DavidW2> i try recompiling the ocaml source
<DavidW2> and i still get no .o files installed
<smkl> they are packed into .a libraries ...
<smkl> i haven't installed 3.07 yet. looks like there is some problem
<DavidW2> i have 3.06 actually
<DavidW2> i get gcc: /usr/lib/ocaml/unix.o: No such file or directory
<DavidW2> now yes unix.o does not exist, but i have no idea how to generate this file from the ocaml source
<smkl> perhaps you have unix.cmx in the command line. you need unix.cmxa
<DavidW2> ok, you are so right :)
<DavidW2> so for ocamlc, I need cma
<DavidW2> for ocamlopt i need cmxa
<DavidW2> when would I need cmx?
<DavidW2> Also, one other question, why do I need to specify, say, -lunix to ocamlc, but not ocamlopt
<smkl> you need cmxs if they are not packed into libs, just like cmos in bytecode
<smkl> DavidW2: i don't know, it works for me without -lunix
<DavidW2> ok
<DavidW2> and i guess one fianl question
<DavidW2> sorry this is my first major ocaml (or functional programming in general) project
<DavidW2> i don't have the -ffast-math option, but im certainly running on IA32
<smkl> there is just one code generator for x86 family, and i don't think it has any options
<DavidW2> hm, according to the docs it says on IA32 it supported that additional option
<DavidW2> so is ocaml as fast or faster than C when natively compiled?
<smkl> nope, it's usually a bit slower
<DavidW2> well, i ask because this is for an AI for a game, and it may be up against other C players at the uni, so I just want to know if it's at a speed disadvantage right off the bat
<DavidW2> of course some will be java which hasn't been natively compiled, and I'd expect those to be slow
<smkl> if your application doesn't do much low level string processing, the difference shouldn't be noticeable
<DavidW2> well we dude use tcp sockets
<DavidW2> we then split the string into a list and match against the list
<DavidW2> s/dude/do
<smkl> i don't think that will take most of the time in your app
<DavidW2> currently the gametree search is forked into another process and the network is handled in the main process
<smkl> anyway, what i meant was like incrementing bytes in a large array. in parsing you have to do other stuff than just string access
Tabu-la-Rasa has quit ["Goodbye"]
Tabu-la-Rasa has joined #ocaml
lam has joined #ocaml
srv has joined #ocaml
juergen has joined #ocaml
lam has quit ["leaving"]
lam has joined #ocaml
Tabu-la-Rasa has quit [Read error: 54 (Connection reset by peer)]
Tabu-la-Rasa has joined #ocaml
lus|wazze has joined #ocaml
two-face_ has joined #ocaml
two-face_ has left #ocaml []
__DL__ has joined #ocaml
__DL__ has quit ["Bye Bye"]
systems has joined #ocaml
srv has quit ["Lost terminal"]
mattam_ has joined #ocaml
mattam has quit [Read error: 60 (Operation timed out)]
mattam_ has quit [Client Quit]
mattam has joined #ocaml
buggs|afk is now known as buggs
lus|wazze has quit ["Copyright is a temporary loan from the public domain, not property"]
lus|wazze has joined #ocaml
bk__ has joined #ocaml
lus|wazze has quit ["Copyright is a temporary loan from the public domain, not property"]
systems has left #ocaml []
lus|wazze has joined #ocaml
lus|wazze has quit [Read error: 104 (Connection reset by peer)]
lus|wazze has joined #ocaml
polin8 has quit [Read error: 104 (Connection reset by peer)]
polin8 has joined #ocaml
buggs|afk has joined #ocaml
srv has joined #ocaml
buggs has quit [Read error: 110 (Connection timed out)]
polin8 has quit [Read error: 104 (Connection reset by peer)]
polin8 has joined #ocaml
clam has joined #ocaml
clam has quit ["no reason"]
lus|wazze has quit ["Copyright is a temporary loan from the public domain, not property"]
lus|wazze has joined #ocaml
lus|wazze has quit ["Copyright is a temporary loan from the public domain, not property"]
buggs|afk is now known as buggs
srv has quit ["leaving"]
lus|wazze has joined #ocaml
jnf_ has joined #ocaml
systems has joined #ocaml
juergen has quit [Read error: 60 (Operation timed out)]
Smerdy has joined #ocaml
Smerdyakov has quit [Read error: 110 (Connection timed out)]
lus|wazze has quit ["Copyright is a temporary loan from the public domain, not property"]
ez4 has joined #ocaml
Smerdy is now known as Smerdyakov
lus|wazze has joined #ocaml
systems has quit ["Client Exiting"]
lus|wazze has quit ["Copyright is a temporary loan from the public domain, not property"]
lus|wazze has joined #ocaml
lus|wazze has quit ["Copyright is a temporary loan from the public domain, not property"]
ez4 has quit []
lam has quit [Read error: 60 (Operation timed out)]
jnf_ has quit ["Leaving"]
lam has joined #ocaml
DavidW2 has quit ["leaving"]
Vincenz has joined #ocaml
lus|wazze has joined #ocaml
systems has joined #ocaml
bk__ has quit ["I'll be back"]
systems has quit [Connection timed out]
clam has joined #ocaml
lus|wazze has quit ["Copyright is a temporary loan from the public domain, not property"]
Sonarman has joined #ocaml
Sonarman has quit ["Lost terminal"]
buggs|afk has joined #ocaml
buggs has quit [leguin.freenode.net irc.freenode.net]
mattam has quit [leguin.freenode.net irc.freenode.net]
rox has quit [leguin.freenode.net irc.freenode.net]
wax has quit [leguin.freenode.net irc.freenode.net]
smkl has quit [leguin.freenode.net irc.freenode.net]
Kinners has joined #ocaml
mattam has joined #ocaml
wax has joined #ocaml
rox has joined #ocaml
smkl has joined #ocaml