[01:29:42] <-- Dominus has left IRC (Ping timeout: 246 seconds)
[01:29:47] --> DominusExult has joined #pentagram
[01:29:47] --- ChanServ gives channel operator status to DominusExult
[01:30:37] --- DominusExult is now known as Dominus
[05:16:37] <-- SugarCube has left IRC (Ping timeout: 272 seconds)
[05:29:51] --> SugarCube has joined #pentagram
[06:49:25] <-- Lightkey has left IRC (Ping timeout: 260 seconds)
[07:02:15] --> Lightkey has joined #pentagram
[08:20:05] <wjp_> Dominus: .d files aren't required for building; only for properly rebuilding if headers change
[08:20:49] <wjp_> if you remind me later I can have a closer look
[08:21:18] <wjp_> (In .de today)
[13:07:50] <Lightkey> ..oh?
[18:54:01] --- wjp_ is now known as wjp
[18:54:08] --- ChanServ gives channel operator status to wjp
[20:37:12] <Dominus> wjp, are you on and have time?
[20:38:39] <wjp> can you copy-paste a (single) compilation command that's executes when you run make?
[20:40:47] <Dominus> http://pastie.org/9517547
[20:45:20] <wjp> and where is it creating the .d exactly?
[20:45:47] <Dominus> where the o file gets created
[20:46:17] <Dominus> in this case in /convert
[20:50:28] <wjp> which clang version?
[20:51:08] <Dominus> Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
[20:53:36] <Dominus> with an old LLVM-gcc (gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.6)) it still uses the .deps folder
[20:54:51] <wjp> seems to be a difference in the MMD option in clang and gcc
[20:54:53] <wjp> a bit silly
[20:55:18] <wjp> if I read the clang docs right, it expects a separate MF option for the location of the .d
[20:56:09] <wjp> looks like scummvm is already doing that too
[20:56:48] <wjp> try replacing the instances of "-MMD" in Makefile.in by "-MMD,-MF"
[20:59:21] <wjp> hm, or maybe it needs a bit more
[20:59:43] <Dominus> yes :)
[21:00:29] <wjp> also remove the "-Wp," and replace the commas between those -MMD/-MF/MQ/MP options by spaces
[21:00:48] <wjp> so: -MMD -MF "$(*D)/$(DEPDIR)/$(*F).d" -MQ "$@" -MP
[21:03:49] <Dominus> yes that worked
[21:05:08] <Dominus> and that works for the old llvm-gcc as well (which I have to use for ppc builds)
[21:06:06] <wjp> on my gcc too
[21:06:45] <wjp> and scummvm uses it, so should be pretty safe
[21:06:57] <wjp> could you commit it?
[21:07:21] <Dominus> sure
[21:08:58] <Dominus> thanks for figuring this out. all those unversioned .d files were making me crazy :)
[21:11:22] <wjp> no problem :-)
[21:15:54] <Dominus> wjp any idea on how to title this commit? clang compatible .d file handling?
[21:17:57] <wjp> sounds good
[22:38:31] <-- wjp has left IRC (Remote host closed the connection)
[22:43:58] --> wjp has joined #pentagram