On Sun, 2016-05-29 at 23:43 +1200, rikki cattermole via Digitalmars-d wrote: > On 29/05/2016 11:10 PM, Russel Winder via Digitalmars-d wrote: > > […] > > There is also that ldc and gdc Debian packages cannot both be > > installed > > and have gdc work :-( > > So you want gdc and ldc to both be default at the same time? > > Because with --compiler switch, and a little bit of shell magic its > not > all that hard to switch between them for default and one offs.
Sorry I didn't add enough detail: this is not to do with Dub, or SCons, it is to do with Debian packaging, gdc, and ldc. The gdc module search path and the ldc module search path both have the same directory as the primary directory for search even though the install directories are different. Given that gdc and ldc are generally many D versions apart, gdc is trying to use modules from the future and it breaks. Using ldc is fine. So to use gdc you cannot have ldc installed from packages. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
