Thread overview
Re: Had another 48hr game jam this weekend...
Sep 18, 2013
H. S. Teoh
Sep 18, 2013
Jacob Carlborg
Sep 18, 2013
Andrej Mitrovic
September 18, 2013
On Wed, Sep 18, 2013 at 10:25:57AM -0700, Andrei Alexandrescu wrote:
> On 9/18/13 9:09 AM, Manu wrote:
> >On 19 September 2013 02:05, Andrej Mitrovic <andrej.mitrovich@gmail.com <mailto:andrej.mitrovich@gmail.com>> wrote:
> >
> >    On 9/18/13, Andrei Alexandrescu <SeeWebsiteForEmail@erdani.org
> >    <mailto:SeeWebsiteForEmail@erdani.org>> wrote:
> >     >> Problem is, 80% of the code I write is C code still... :(
> >     >
> >     > join me
> >
> >    I don't suppose GCC and other compilers have some kind of verbose
> >    output that exports include declarations? Or maybe just modify an RDMD
> >    fork to run the preprocessor over a C/C++ file. What I'm saying is, I
> >    think a tool like RDMD could be used for C/C++ (with some trickery).
> >
> >
> >rdmd implies rebuild-all every time. It doesn't really scale.
[...]

Really? I thought rdmd caches object files. Or does that only apply to executables?


T

-- 
Nobody is perfect.  I am Nobody. -- pepoluan, GKC forum
September 18, 2013
On 9/18/13 11:06 AM, H. S. Teoh wrote:
> On Wed, Sep 18, 2013 at 10:25:57AM -0700, Andrei Alexandrescu wrote:
>> On 9/18/13 9:09 AM, Manu wrote:
>>> On 19 September 2013 02:05, Andrej Mitrovic <andrej.mitrovich@gmail.com
>>> <mailto:andrej.mitrovich@gmail.com>> wrote:
>>>
>>>     On 9/18/13, Andrei Alexandrescu <SeeWebsiteForEmail@erdani.org
>>>     <mailto:SeeWebsiteForEmail@erdani.org>> wrote:
>>>      >> Problem is, 80% of the code I write is C code still... :(
>>>      >
>>>      > join me
>>>
>>>     I don't suppose GCC and other compilers have some kind of verbose
>>>     output that exports include declarations? Or maybe just modify an RDMD
>>>     fork to run the preprocessor over a C/C++ file. What I'm saying is, I
>>>     think a tool like RDMD could be used for C/C++ (with some trickery).
>>>
>>>
>>> rdmd implies rebuild-all every time. It doesn't really scale.
> [...]
>
> Really? I thought rdmd caches object files. Or does that only apply to
> executables?

rdmd is geared toward building one executable out of several files. It uses the all-in-one-cmdline approach. For programs up to medium size that's the fastest way. We could provide file-at-a-time as an option.

Andrei

September 18, 2013
On 9/18/13, H. S. Teoh <hsteoh@quickfur.ath.cx> wrote:
> I thought rdmd caches object files.

It caches dependency lists.
September 18, 2013
On 2013-09-18 20:06, H. S. Teoh wrote:

> Really? I thought rdmd caches object files. Or does that only apply to
> executables?

There are some issues with that. Just search for incremental complication, or something like that, in these newsgroup. It has been tried before, notably by Tomaz.

-- 
/Jacob Carlborg