On Mon, 6 Jan 2014 13:47:30 +0100 Manfred Lotz <manfred.l...@arcor.de> wrote:
> On Mon, 6 Jan 2014 10:32:49 +0100 > Manfred Lotz <manfred.l...@arcor.de> wrote: > > > I was to quick to state this is a solution as it is not a good idea > > if for example a socket file will be shown as a duplicate of normal > > file having size zero. > > > > For the time being I guess I have to look how to implement it using > > C stat call from Racket. > > > > > > To get into I tried the example in 'Indide Racket C API'/Overview > > I got: > compiled > compiled/native > compiled/native/amd64-linux > compiled/native/amd64-linux/3m > compiled/native/amd64-linux/3m/hi_rkt.so > > > Documentation says that it could be loaded like this: > > (require "hi.rkt") > > > Now my question: What would the content of hi.rkt be? > > Ok, I think I got it. There is no hi.rkt. The directories must look like this: compiled compiled/native compiled/native/x86_64-linux compiled/native/x86_64-linux/3m compiled/native/x86_64-linux/3m/hi_rkt.so Now (require "hi.rkt") works fine. -- Manfred ____________________ Racket Users list: http://lists.racket-lang.org/users