On Tue, Apr 18, 2017 at 11:11:20AM +0100, Christian Lindig wrote:
>
> > On 18. Apr 2017, at 10:59, Wei Liu wrote:
> >
> > Forgive my ignorance for the Ocaml ecosystem, but I can't seem to find a
> > way to conditionally compile ocaml source code easily.
> >
> > Presumably you mean "Determine th
> On 18. Apr 2017, at 10:59, Wei Liu wrote:
>
> Forgive my ignorance for the Ocaml ecosystem, but I can't seem to find a
> way to conditionally compile ocaml source code easily.
>
> Presumably you mean "Determine the path at *configure* time"? Even if
> we make those configurable, there should
> On 18. Apr 2017, at 10:59, Wei Liu wrote:
>
> Forgive my ignorance for the Ocaml ecosystem, but I can't seem to find a
> way to conditionally compile ocaml source code easily.
>
> Presumably you mean "Determine the path at *configure* time"? Even if
> we make those configurable, there should
On Tue, Apr 18, 2017 at 10:46:15AM +0100, Christian Lindig wrote:
>
> > On 14. Apr 2017, at 11:20, Wei Liu wrote:
> >
> > Unfortunately there is an easy way to determine system name in the standard
> > library so I wrote a wrapper for uname syscall.
>
> I think there are two solutions to using
> On 14. Apr 2017, at 11:20, Wei Liu wrote:
>
> Unfortunately there is an easy way to determine system name in the standard
> library so I wrote a wrapper for uname syscall.
I think there are two solutions to using the correct path:
(1) Determine the path at compile time and use the mechanism
I managed to remove almost all Linux-ism in my previous work to make all paths
configurable.
The last bits missing are the two device node paths.
Unfortunately there is an easy way to determine system name in the standard
library so I wrote a wrapper for uname syscall.
I think this is a good can