Need help building GDC on 64-bit Debian

H. S. Teoh hsteoh at quickfur.ath.cx
Sat Oct 20 10:14:30 PDT 2012


Huh, weird, I tried compiling again this morning and somehow it works
now!! I think it may have to do with the configure options: I tried a
different configuration this time:

	/usr/src/gcc-4.7/gcc-4.7-4.7.2/src/configure \
	--enable-languages=d --disable-bootstrap \
	--prefix=/usr/src/d/gdcroot/ --enable-checking=yes \
	--disable-nls --disable-libgomp --disable-libmudflap \
	--disable-ld --disable-gold --disable-multilib \
	--disable-libquadmath

Anyway, now I have a different problem: how do I find out what are gdc's
default search paths for imports? I installed it in a non-default
directory and now obviously it can't find druntime/phobos, etc.. But I
don't know where to put the files so that gdc can find them.

Also, I seem to remember reading somewhere that libphobos needs to be
specially built for gdc? Where can I find instructions on how to build
it?

Thanks in advance for the help!


T

-- 
All men are mortal. Socrates is mortal. Therefore all men are Socrates.


More information about the D.gnu mailing list