August 09, 2012
Ok. Now I have built both phobos and druntime.
Then I have packed the generated phobos.lib in the windows> lib.
Now I still have in druntime a new folder "lib" with a druntime.lib in it.
What should I do with this?
And must I also build dmd anew?
August 09, 2012
On Thursday, August 09, 2012 10:43:15 Namespace wrote:
> Ok. Now I have built both phobos and druntime.
> Then I have packed the generated phobos.lib in the windows> lib.
> Now I still have in druntime a new folder "lib" with a
> druntime.lib in it.
> What should I do with this?

You don't need druntime.lib. You just need to make sure that your sc.ini points to the right import paths for the source and library paths for phobos.lib. If you copy phobos.lib to where the one from 2.060 is and copy the source over to where the source is for 2.060, then you should be fine without doing anything to sc.ini. But if you don't want to replace any of that, then you need to point sc.ini at the place where the new stuff is.

> And must I also build dmd anew?

Probably not given how recent the release was. Certainly, if everything built fine with dmd 2.060, then you should be fine, but in general, if you want to build the latest druntime or Phobos, you need the latest dmd.

- Jonathan M Davis
August 09, 2012
On Thursday, August 09, 2012 01:51:43 Jonathan M Davis wrote:
> On Thursday, August 09, 2012 10:43:15 Namespace wrote:
> > Ok. Now I have built both phobos and druntime.
> > Then I have packed the generated phobos.lib in the windows> lib.
> > Now I still have in druntime a new folder "lib" with a
> > druntime.lib in it.
> > What should I do with this?
> 
> You don't need druntime.lib. You just need to make sure that your sc.ini points to the right import paths for the source and library paths for phobos.lib. If you copy phobos.lib to where the one from 2.060 is and copy the source over to where the source is for 2.060, then you should be fine without doing anything to sc.ini. But if you don't want to replace any of that, then you need to point sc.ini at the place where the new stuff is.
> 
> > And must I also build dmd anew?
> 
> Probably not given how recent the release was. Certainly, if everything built fine with dmd 2.060, then you should be fine, but in general, if you want to build the latest druntime or Phobos, you need the latest dmd.

Another option would be to use dvm:

https://bitbucket.org/doob/dvm/wiki/Home

- Jonathan M Davis
1 2
Next ›   Last »