Re: GDC: how to link with alternate version of Phobos?

2012-02-24 Thread Johannes Pfau
Am Thu, 23 Feb 2012 20:21:57 -0800 schrieb H. S. Teoh hst...@quickfur.ath.cx: I'm trying to test if a bug has been fixed in the latest Phobos git repository, but I'm having trouble convincing gdc to *not* use the default installation of Phobos. What option do I need on the commandline to tell

Re: GDC: how to link with alternate version of Phobos?

2012-02-24 Thread Jonathan M Davis
On Friday, February 24, 2012 09:43:30 Johannes Pfau wrote: try -nophoboslib and/or -nostdinc. However, to use the git phobos version with gdc you also have to compile it with gdc. I'm not sure but I think the phobos source in gdc has gdc specific changes, at least it's that way for druntime.

GDC: how to link with alternate version of Phobos?

2012-02-23 Thread H. S. Teoh
I'm trying to test if a bug has been fixed in the latest Phobos git repository, but I'm having trouble convincing gdc to *not* use the default installation of Phobos. What option do I need on the commandline to tell it to use a different path to Phobos? -I only appends include paths *after* the

Re: GDC: how to link with alternate version of Phobos?

2012-02-23 Thread Jonathan M Davis
On Thursday, February 23, 2012 20:21:57 H. S. Teoh wrote: I'm trying to test if a bug has been fixed in the latest Phobos git repository, but I'm having trouble convincing gdc to *not* use the default installation of Phobos. What option do I need on the commandline to tell it to use a