digitalmars.D.learn - druntime
- Ellery Newcomer (1/1) Jan 08 2011 where did libdruntime.a go in dmd.2.051.zip:/linux/lib ?
- Jonathan M Davis (11/12) Jan 08 2011 I think that it's included inside of libphobos.a now, and has been for a...
- Ellery Newcomer (4/13) Jan 08 2011 Figures, but I thought I looked in libphobos and didn't see druntime
- Jonathan M Davis (7/23) Jan 08 2011 Well, I haven't actually gone so far as to look at the symbols in the li...
- Jacob Carlborg (6/18) Jan 09 2011 Since Phobos depends on druntime and both libraries are statically
where did libdruntime.a go in dmd.2.051.zip:/linux/lib ?
Jan 08 2011
On Saturday 08 January 2011 13:32:19 Ellery Newcomer wrote:where did libdruntime.a go in dmd.2.051.zip:/linux/lib ?I think that it's included inside of libphobos.a now, and has been for a few releases. The libraries are still separate, and you can build them separately, but from what I can tell, it looks like phobos ends up including the druntime stuff in itself when you build it. So, having a separate libdruntime.a would be kind of pointless unless you were specifically trying to avoid linking in any Phobos stuff, which would be highly abnormal, and in which case you could build druntime yourself. But Sean or someone else who's been involved in that build process may have a better answer as to what exactly is going on now and why. - Jonathan M Davis
Jan 08 2011
On 01/08/2011 09:02 PM, Jonathan M Davis wrote:On Saturday 08 January 2011 13:32:19 Ellery Newcomer wrote:Figures, but I thought I looked in libphobos and didn't see druntime symbols.. oh well. And yeah, it's been a few releases since I've needed to build my own rpmswhere did libdruntime.a go in dmd.2.051.zip:/linux/lib ?I think that it's included inside of libphobos.a now, and has been for a few releases. The libraries are still separate, and you can build them separately, but from what I can tell, it looks like phobos ends up including the druntime stuff in itself when you build it. So, having a separate libdruntime.a would be kind of pointless unless you were specifically trying to avoid linking in any Phobos stuff, which would be highly abnormal, and in which case you could build druntime yourself.
Jan 08 2011
On Saturday 08 January 2011 19:16:26 Ellery Newcomer wrote:On 01/08/2011 09:02 PM, Jonathan M Davis wrote:Well, I haven't actually gone so far as to look at the symbols in the library, but there is no libdruntime.a - only a libphobos.a - and it works. And if you build phobos, you still need to build druntime first. So, really, the only way that it could really work from what I can see is that libphobos.a includes the stuff from libdruntime.a in it. Why or how, I don't know. - Jonathan M DavisOn Saturday 08 January 2011 13:32:19 Ellery Newcomer wrote:Figures, but I thought I looked in libphobos and didn't see druntime symbols.. oh well. And yeah, it's been a few releases since I've needed to build my own rpmswhere did libdruntime.a go in dmd.2.051.zip:/linux/lib ?I think that it's included inside of libphobos.a now, and has been for a few releases. The libraries are still separate, and you can build them separately, but from what I can tell, it looks like phobos ends up including the druntime stuff in itself when you build it. So, having a separate libdruntime.a would be kind of pointless unless you were specifically trying to avoid linking in any Phobos stuff, which would be highly abnormal, and in which case you could build druntime yourself.
Jan 08 2011
On 2011-01-09 04:02, Jonathan M Davis wrote:On Saturday 08 January 2011 13:32:19 Ellery Newcomer wrote:Since Phobos depends on druntime and both libraries are statically linked I think libdruntime.a has never been needed. It's never been listed in dmd.conf/ini as far as I know. -- /Jacob Carlborgwhere did libdruntime.a go in dmd.2.051.zip:/linux/lib ?I think that it's included inside of libphobos.a now, and has been for a few releases. The libraries are still separate, and you can build them separately, but from what I can tell, it looks like phobos ends up including the druntime stuff in itself when you build it. So, having a separate libdruntime.a would be kind of pointless unless you were specifically trying to avoid linking in any Phobos stuff, which would be highly abnormal, and in which case you could build druntime yourself. But Sean or someone else who's been involved in that build process may have a better answer as to what exactly is going on now and why. - Jonathan M Davis
Jan 09 2011