import problems

John Colvin via D.gnu d.gnu at puremagic.com
Tue Oct 13 03:16:11 PDT 2015


On Tuesday, 13 October 2015 at 10:09:03 UTC, John Colvin wrote:
> Where does the information

sorry, pressed enter by accident.

What is the process by which gdc knows what the default import 
path for object.d is?

Alternatively, what do I have to change to choose my own location 
for gdc to install its imports to and have it automatically use 
that as an import path? I have seen 
https://github.com/Dicebot/Arch-PKGBUILDs/blob/master/gdc/folders.diff and followed that example, but of course changing configure.ac is a pain because then you have to have exactly the right version of autoconf to update configure. Also, I couldn't find the relevant lines to change in gcc/d/Make-lang.in

Currently I tried changing gdc_include_dir in the generated 
configure, which gets everything installed in the right place, 
but gdc doesn't import it (and doesn't show any import paths in 
the error message)


More information about the D.gnu mailing list