Linux installation, even worse: search path for libphobos.a
Norbert Nemec
Norbert at Nemec-online.de
Sun Apr 23 08:22:06 PDT 2006
Thomas Kuehne wrote:
> 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 $*
Thanks!
A slightly improved version:
-----------------------
#!/bin/sh
A=$HOME/wherever/you/installed/dmd
exec $A/bin/dmd -I$A/src/phobos -L$A/lib "$@"
-----------------------
More information about the Digitalmars-d
mailing list