[m-dev.] Upgrading Boehm GC, attempt #2
Paul Bone
paul at bone.id.au
Wed Sep 23 14:50:43 AEST 2015
On Wed, Sep 23, 2015 at 01:12:11PM +1000, Peter Wang wrote:
> On Wed, 23 Sep 2015 12:41:38 +1000, Paul Bone <paul at bone.id.au> wrote:
> > On Tue, Jan 20, 2015 at 12:00:17PM +1100, Julien Fischer wrote:
> > >
> > > Hi Paul,
> > >
> > > I've finally had a change to look at this some more.
> > >
> > > On Sat, 15 Nov 2014, Paul Bone wrote:
> > >
> > > >If anyone would like to test this on Windows that would be helpful. In
> > > >particular I'm not sure how the symlink from boehm_gc/libatomic_ops to
> > > >libatomic_ops will be handled on a windows file system.
> > >
> > > On MSYS it results in an error, you will need to copy the libatomic_ops
> > > directory on Windows. It's probably alright on Cygwin, so if the
> > > output of uname matches "*MINGW*" you should copy instead of link.
> > >
> >
> > I don't easily have a machine to test with, what's the best way to do this,
> > and does uname need any arguments?
> >
> > I have:
> >
> > case $(uname) in
> > *MINGW*)
> > cp -r ../libatomic_ops boehm_gc/libatomic_ops;
> > ;;
> > *)
> > ln -s ../libatomic_ops boehm_gc/libatomic_ops;
> > ;;
> > esac
>
> It might be better just to try one then the other:
>
> ln -s ... || cp -r ...
That was something I considered, yeah, I think it'd be simplier.
> In MSYS2, ln -s actually copies anyway. (It also is able to create hard
> links with cp -rl so that's another option.)
--
Paul Bone
More information about the developers
mailing list