Importing D libraries

Dainius (GreatEmerald) pastas4 at gmail.com
Fri Aug 19 13:06:54 PDT 2011


Anyone have any ideas about this? Or is it a bug? If I make RDMD
chatty and listing all warnings, I get these lines:

    dmd -w -wi -lib -L-llua -I../include/LuaD -v -o- 'arco.d' -I'.' >arco.d.deps
    dmd -w -wi -lib -L-llua -I../include/LuaD
-of'/tmp/.rdmd/home/dainius/src/arco.d.3C10152112FB7E55476A9BDD916C0875'
-od'/tmp/.rdmd/rdmd-arco.d-3C10152112FB7E55476A9BDD916C0875' -I'.'
'arco.d' '../include/LuaD/luad/c/lauxlib.d'
'../include/LuaD/luad/state.d' '../include/LuaD/luad/c/lua.d'
'../include/LuaD/luad/conversions/arrays.d'
'../include/LuaD/luad/table.d' '../include/LuaD/luad/dynamic.d'
'../include/LuaD/luad/conversions/classes.d'
'../include/LuaD/luad/c/all.d'
'../include/LuaD/luad/conversions/structs.d'
'../include/LuaD/luad/stack.d' '../include/LuaD/luad/c/tostring.d'
'../include/LuaD/luad/conversions/assocarrays.d'
'../include/LuaD/luad/all.d'
'../include/LuaD/luad/conversions/functions.d'
'../include/LuaD/luad/base.d' 'cards.d'
'../include/LuaD/luad/lfunction.d'
'../include/LuaD/luad/conversions/variant.d'
'../include/LuaD/luad/error.d' '../include/LuaD/luad/c/lualib.d'
'../include/LuaD/luad/c/luaconf.d'

And the temporary file noted in the message there is of fairly good
size, as you can see here:

    $ ls /tmp/.rdmd/home/dainius/src/ -l
    -rw-r--r-- 1 dainius users 1.228.948 Rgp 19 22:56
arco.d.3C10152112FB7E55476A9BDD916C0875

Could it be that RDMD somehow doesn't copy the file from the temp
folder? Or maybe there is a way to further debug this case?


More information about the Digitalmars-d-learn mailing list