Installing GDC to home directory?

Iain Buclaw ibuclaw at ubuntu.com
Mon Aug 15 15:43:02 PDT 2011


== Quote from Trass3r (un at known.com)'s article
> > For example, if I am creating a binary .deb or .rpm, I can compile
> > everything I want so that it expects to run in '/usr' (prefix), but dump
> > the files in '/home/vnayar/myproject/rpm' (DESTDIR).
> >
> > After I run my command, I'll have stuff like:
> >   /home/vnayar/myproject/rpm/
> >     + usr/bin/mybin
> >     + usr/share/mydata
> >     + usr/lib/libmine.so
> >
> > And after I wrap all that up in a .deb package, and someone else installs
> > it, they will have binaries ready to go in /usr/bin, etc.
> How would you configure it to create a dmd like package that can be
> extracted anywhere?

You can extract it anywhere. Just make sure that the gdc /bin directory is in your
$PATH.


More information about the D.gnu mailing list