From owner-freebsd-current@FreeBSD.ORG Sat Aug 29 07:23:51 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B3D7106564A for ; Sat, 29 Aug 2009 07:23:51 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from itchy.rabson.org (router.rabson.org [80.177.232.241]) by mx1.freebsd.org (Postfix) with ESMTP id 189098FC0A for ; Sat, 29 Aug 2009 07:23:50 +0000 (UTC) Received: from [IPv6:2001:470:909f:1:225:ff:feed:9426] (unknown [IPv6:2001:470:909f:1:225:ff:feed:9426]) by itchy.rabson.org (Postfix) with ESMTP id B443C5CBD; Sat, 29 Aug 2009 08:23:19 +0100 (BST) Message-Id: From: Doug Rabson To: Julian Elischer In-Reply-To: <4A9859CA.9080606@elischer.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Sat, 29 Aug 2009 08:23:19 +0100 References: <8819E53E-9F96-43E2-B7F5-F5393F5AE126@rabson.org> <1F28170B-BA01-4988-8BB8-9875B9D00DD5@rabson.org> <4A9859CA.9080606@elischer.org> X-Mailer: Apple Mail (2.935.3) Cc: Julien Laffaye , FreeBSD Current Subject: Re: New BSD licensed debugger X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2009 07:23:51 -0000 On 28 Aug 2009, at 23:27, Julian Elischer wrote: > Doug Rabson wrote: >> On 28 Aug 2009, at 21:34, Julien Laffaye wrote: >>> Hi, >>> >>> On Fri, Aug 28, 2009 at 9:23 PM, Doug Rabson wrote: >>>> Personally, I use LDC >>>> which is a D front end to LLVM but that doesn't build out-of-the >>>> box (I have >>>> a private hacked version of LDC and some associated libraries). >>> >>> Can you put the patchs somewhere ? Im also interested in >>> compiling/using LDC on FreeBSD. >>> Have you considered to submit them upstream? >> I will certainly submit patches to the LDC guys in due course. This >> really is my preferred compiler - its free, open source and >> actively maintained. Having said that DMD will work for anyone that >> just wants to play with the debugger. >>> Your debugger looks promising, I'll test it when I can use a >>> decent D >>> compiler (LDC) >> D support in the debugger is fair - I have good support for D >> dynamic arrays and some for associative arrays. >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org >> " > > > so can one link 'D' stuff easily with current C code? I'm guessing > yes but I've learned to not take things for granted. > > For example can one link with the X libs or qt or whatever > to do graphical stuff? Yes - interfacing with C is just a case of declaring stuff as 'extern (C)'. I do this in several places to get to things like editline and ptrace. There are projects that interface to graphical libs such as GTK etc.