www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Quote for the front page

reply Nicolay Korslund <korslund gmail.com> writes:
I just read the fantastic article about D at gamedev.net that was posted
here a little while ago:

http://www.gamedev.net/reference/programming/features/dmarsd/default.asp

This quote at the end stood out to me:

"D is what C has always wanted to become and what C++ should have
been from the start." --Jonathan Breuer, gamedev.net

I think that's good enough to be put on the D home page ;-) How about
it, Walter?

Nico
Mar 14 2008
parent reply Justin Greenwood <jgreenwood37 insightbb.com> writes:
I have a shared linux hosting account, and I'd like to compile my cgi 
scripts with DMD on their server (they have 64 bit centos linux). 
Unfortunately they don't have the "/usr/lib/libstdc++.so.5" shared 
library available.

Do you linux wizards know any way I can run dmd with the needed shared 
libraries in my user account directory? Maybe referencing the shared 
libraries "~/lib64/libstdc++.so.5" by adding the path to some 
environment variable or command line argument or something?

I really appreciate your help,
Justin
Mar 14 2008
parent reply "Adam D. Ruppe" <destructionator gmail.com> writes:
On Fri, Mar 14, 2008 at 01:51:38PM -0400, Justin Greenwood wrote:
 Do you linux wizards know any way I can run dmd with the needed shared 
 libraries in my user account directory? Maybe referencing the shared 
 libraries "~/lib64/libstdc++.so.5" by adding the path to some 
 environment variable or command line argument or something?
Maybe: LD_LIBRARY_PATH=~/lib64/ ./dmd [args...] I'm not sure if that will work for this, but setting the LD_LIBRARY_PATH environment variable lets you add more paths to search for shared libs.
 
 I really appreciate your help,
 Justin
-- Adam D. Ruppe http://arsdnet.net
Mar 14 2008
parent Justin Greenwood <jgreenwood37 insightbb.com> writes:
Adam,
Thankyou so much. First, I typed "ldd dmd" and it listed the shared 
libraries needed (and the ones that were missing). After which I added 
the two lines below to my ".bash_profile":
LD_LIBRARY_PATH=$HOME/lib
EXPORT LD_LIBRARY_PATH
Of course I had to get the correct rpm, extract the .so files out of it, 
and then push them into the lib folder in my home/lib folder.

It's great to be able to use the compiler in a hosted environment. Now I 
can focus on the code again!

-Justin



Adam D. Ruppe wrote:
 On Fri, Mar 14, 2008 at 01:51:38PM -0400, Justin Greenwood wrote:
 Do you linux wizards know any way I can run dmd with the needed shared 
 libraries in my user account directory? Maybe referencing the shared 
 libraries "~/lib64/libstdc++.so.5" by adding the path to some 
 environment variable or command line argument or something?
Maybe: LD_LIBRARY_PATH=~/lib64/ ./dmd [args...] I'm not sure if that will work for this, but setting the LD_LIBRARY_PATH environment variable lets you add more paths to search for shared libs.
 I really appreciate your help,
 Justin
Mar 14 2008