<f[x]>
gildor, yes, the problem is here, maybe it is because these are "internal" libs..
<gildor>
f[x]: honnestly, I think it is a bug, there should be a way to define order, what is your opinion ?
<gildor>
f[x]: if you agree, I will submit a bug against ocaml
Modius has quit [Quit: I'm big in Japan]
<f[x]>
a moment
eldragon has quit [Read error: Connection reset by peer]
eldragon has joined #ocaml
<f[x]>
it discovers lib*.cma as dynamic dependencies and the order is wrong
<f[x]>
hm
<f[x]>
anyway it is a bug
Associat0r has quit [Quit: Associat0r]
_zack has quit [Quit: Leaving.]
<f[x]>
on the clean tree - ocamlbuild src/execa/Main.byte will not find module C, this feels wrong
<f[x]>
you are not using include in _tags but specify the dir manually in plugin - yes? probably that confuses ocamlbuild
<gildor>
f[x]: indeed I use the ~dir arg of ocaml_lib to define include dir
<gildor>
this should work
<gildor>
but this has nothing to do with *.cma order ?
tmaedaZ is now known as tmaeda
<f[x]>
who knows
chupish has joined #ocaml
<gildor>
f[x]: but do you have build module C before calling ocamlbuild src/execa/Main.byte ?
<f[x]>
<src/lib{a,b,c}>: include # and everything works fine
<gildor>
f[x]: unfortunately this is too general, interdepends is just an example, it should work without a so general include
<f[x]>
and then it doesn't depend on ocaml_lib order - and now this feels natural - for internal libraries it is able to derive dependencies and order them easily
<f[x]>
gildor, I understand
<gildor>
f[x]: I even think that is just fetch directly the .cmi/.cmo/.cmx directly in the directory
Associat0r has joined #ocaml
<gildor>
what does the command line look like when compiling execa ?
<f[x]>
as you are supplying dependency info and willing to guarantee that libs are built before main.byte (with setup.ml)
<f[x]>
ocaml_lib ~extern:true ~dir:dir lib;
<f[x]>
and everything works fine :)
qwr has quit [Quit: Lost terminal]
|Jedai| has quit [Quit: KVIrc Insomnia 4.0.0, revision: , sources date: 20090520, built on: 2009/06/08 19:18:46 UTC http://www.kvirc.net/]
<f[x]>
diml, the question is why doesn't ocaml_lib put such deps? It uses more specific ones only (with "link" tag)..
<gildor>
f[x], diml: I think the extern flags is wrongly named
<gildor>
f[x], diml: it just explain that it should depends on *.cma|cmxa
<gildor>
f[x], diml: an internal library will probably compile directly with cmo/cmx
qwr has joined #ocaml
<mrvn>
Every cmo/cmx file contains a list of modules it depends on, right?
<gildor>
yes
<mrvn>
Then why can't ocamlc/opt sort them on the fly? Can one have different cmo/cmx files with the same module linked together?
_zack has joined #ocaml
avsm has joined #ocaml
tmaeda is now known as tmaedaZ
Gooffy has quit [Quit: Leaving.]
lena_ has quit [Remote host closed the connection]
Alpounet has quit [Quit: ``Do what you think you can't do.'']
yakischloba has joined #ocaml
<gildor>
f[x], diml: thanks a lot, it works with extern:true, I also implement a flag to use "libx: include" which set extern to false and add the include stanza in _tags
yakischloba has left #ocaml []
yakischloba has joined #ocaml
th5 has quit [Quit: th5]
ikaros has joined #ocaml
lokydor has joined #ocaml
_zack has quit [Quit: Leaving.]
jonafan_ is now known as jonafan
jcaose has joined #ocaml
chupish has quit []
Modius has joined #ocaml
Modius has quit [Max SendQ exceeded]
Modius has joined #ocaml
yakischloba has quit [Quit: Leaving.]
yakischloba has joined #ocaml
yakischloba has quit [Ping timeout: 260 seconds]
<Camarade_Tux>
about cross-compilers in fedora and debian: do they come with additional libraries?
<flux>
well, m4 is sort of a template system, and I think it's turing complete..
<Smerdyakov>
Then perhaps you can explain what you mean by "template system."
<flux>
it is a system intended to be used for creating output by giving it a "template" and a few parameters that the template requires
<Smerdyakov>
I think this doesn't describe Graftid accurately, because Graftid designers are more than just strings with holes in them.
<Smerdyakov>
(And the latter pretty universally describes "web template systems.")
<flux>
the demo templates don't quite show off those non-string holes yet, though?
<flux>
argh, let's say demo system generator examples :)
<Smerdyakov>
In a sense they do.
<Smerdyakov>
While these designers could be encoded as strings-with-holes, they actually work via a more general code generation system.
<Smerdyakov>
Also, the whole building-a-nice-GUI-to-elicit-values-for-the-holes aspect is absent from web template systems, as I understand them.
lokydor has quit [Ping timeout: 240 seconds]
<yziquel>
anyone with asm knowledge?
<yziquel>
that could tell me how to send a constant into a fixed adress in memory?
middayc has joined #ocaml
<Smerdyakov>
yziquel, obviously depends on the instruction set, and you should ask in #asm or some place like that.
Narrenschiff has joined #ocaml
Drk-Sd has joined #ocaml
alinbsp has joined #ocaml
orbitz has joined #ocaml
<yziquel>
yes! custom kernel code booting! i was wondering: would it be interesting to have code run in ring 0 in long mode, and do ocaml minor heap garbage collection by raising paging errors and catching them? or in protected mode by catching memory access violations?
<derdon>
I want the day to have 48 hours.
<derdon>
bye, guys
derdon has quit [Quit: derdon]
avsm has quit [Quit: Leaving.]
Smerdyakov has quit [Quit: Leaving]
orbitz has quit [Ping timeout: 252 seconds]
ulfdoz has quit [Ping timeout: 246 seconds]
orbitz has joined #ocaml
CcSsNET has joined #ocaml
Narrenschiff has quit [Quit: Narrenschiff]
[df]_ has quit [Ping timeout: 252 seconds]
[df]_ has joined #ocaml
det has quit [Remote host closed the connection]
det has joined #ocaml
Amorphous has quit [Ping timeout: 272 seconds]
boscop has quit [Read error: Connection reset by peer]
ikaros has quit [Quit: Leave the magic to Houdini]
pad has joined #ocaml
Amorphous has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]