Newbie GDC issues

Iain Buclaw ibuclaw at ubuntu.com
Fri Sep 6 03:34:56 PDT 2013


On 6 September 2013 10:15, eles <eles at eles.com> wrote:
> On Friday, 6 September 2013 at 07:55:39 UTC, Iain Buclaw wrote:
>>
>> On 6 September 2013 08:32, eles <eles at eles.com> wrote:
>>>
>>> On Thursday, 5 September 2013 at 23:49:18 UTC, Ramon wrote:
>>
>> In today's gdc implementation (back then I believe that was for D1) -
>> you'd have to use -fno-emit-moduleinfo  (maybe I should reverse the
>> logic of that switch to make it easier to use).
>
>
> Unfortunately, I still have the same errors, even with this:
>
> gdc -fno-emit-moduleinfo -c dinterface.d -o dinterface.o
>
>
> make -C /lib/modules/3.11.0-5-generic/build M=/home/user/kernelmodule
> CONFIG_HELLO=m MAKE_KBUILD=1 modules
>
> OTOH, could you enlighten me why the kernel make complains about:
>
>
> WARNING: could not find /home/user/kernelmodule/.dinterface.o.cmd for
> /home/user/kernelmodule/dinterface.o
>
> Who's supposed to generate that file?
>
> Thanks
>
> PS: below, the full list of errors (on Linux 64):
> $make VERBOSE=1
> gdc -fno-emit-moduleinfo -c dinterface.d -o dinterface.o
>

I'll have to give it a try when 2.064 is out.  It has some nice fixes
that makes things easier to link D compiled code against C/C++
programs  (I've got a mini-project that I intend to show off at some
point)


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the D.gnu mailing list