Some questions about the Ubuntu gdc

Jan Claeys digitalmars at janc.be
Sun Nov 18 20:40:25 PST 2007


Op Fri, 16 Nov 2007 20:53:23 +0100, schreef Arthur Loiret:

> On 2007/11/16, Martin Hess <martinhess at mac.com> wrote:
>> I have a few questions about the gdc that comes with the latest Ubuntu
>> installer:
[...]
>> 3) Where are the docs for Phobos and D installed?
> 
> /usr/include/d/(4.1)
> /usr/share/doc/gdc-4.1/

On most linux distributions, documentation can be found in '/usr/share/
doc/<packagename>' or sometimes '/usr/doc/<packagename>'.


Arthur: maybe it would also be useful to add the GDC docs to 'devhelp'?
That way they can be included in all IDEs supporting the "devhelp API".


>> 4) Where is Phobos installed?
> 
> /usr/lib/libgphobos.a
> 
> 
> You might want to run
> aptitude download gdc-4.1 && dpkg -c gdc-4.1_*.deb | less or something
> next time.

or:

$ dpkg -L gdc-4.1 | grep phobos
/usr/lib/libgphobos.a
/usr/include/d/4.1/x86_64-linux-gnu/phobos-ver-syms

or:

$ dpkg -S phobos
gdc-4.1: /usr/include/d/4.1/x86_64-linux-gnu/phobos-ver-syms
stellarium-data: /usr/share/stellarium/textures/phobos.png
gdc-4.1: /usr/lib/libgphobos.a


No need to download it again after installing it...  :-)


-- 
JanC


More information about the D.gnu mailing list