Linux installation, even worse: search path for libphobos.a
Thomas Kuehne
thomas-dloop at kuehne.cn
Sun Apr 23 01:48:34 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Norbert Nemec schrieb am 2006-04-23:
> Just after complaining about dmd.conf, I noticed that libphobos.a is
> also expected in the fixed location: /usr/lib/libphobos.a
>
> I guess there is a way to configure this path (in dmd.conf?) which
> should definitely be described on the installation web-page.
>
> Currently, a user without root access is completely out of luck in
> trying out D on a Linux system.
cd /some/path/you/like
unzip dmd.zip
chmod guo=rx dmd/bin/dmd
And put the following shell script somewhere in your path
#!/bin/bash
A=/some/path/you/like
$A/bin/dmd -I$A/src/phobos -L-L$A/lib $*
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFES0zl3w+/yD4P9tIRAig+AJ9+ii4xvWJsc/vhI5ofZoZpTCj0ZwCfZ7fv
yW+4KnWlSY4zgSVAhElOlB4=
=WARA
-----END PGP SIGNATURE-----
More information about the Digitalmars-d
mailing list