www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - hello world

reply Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
Just switched back to 64 bit fedora, and wonder of wonders, dmd doesn't 
work. Well, actually dmd sorta does. The linker doesn't. I'm getting

$ ./dmd test.d

/usr/bin/ld: crt1.o: No such file: No such file or directory



ideas?

dmd 2.036
Nov 21 2009
parent reply Jesse Phillips <jessekphillips gmail.com> writes:
On Sat, 21 Nov 2009 14:01:23 -0600, Ellery Newcomer wrote:

 Just switched back to 64 bit fedora, and wonder of wonders, dmd doesn't
 work. Well, actually dmd sorta does. The linker doesn't. I'm getting
 
 $ ./dmd test.d
 
 /usr/bin/ld: crt1.o: No such file: No such file or directory
 
 
 
 ideas?
 
 dmd 2.036
While not an error I remember seeing, you might take a look at: http://stackoverflow.com/questions/856328/compiling-with-dmd-on-64bit- linux-or-linking-with-32bit-object-files
Nov 21 2009
parent reply Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
On 11/21/2009 02:11 PM, Jesse Phillips wrote:
 On Sat, 21 Nov 2009 14:01:23 -0600, Ellery Newcomer wrote:

 Just switched back to 64 bit fedora, and wonder of wonders, dmd doesn't
 work. Well, actually dmd sorta does. The linker doesn't. I'm getting

 $ ./dmd test.d

 /usr/bin/ld: crt1.o: No such file: No such file or directory



 ideas?

 dmd 2.036
While not an error I remember seeing, you might take a look at: http://stackoverflow.com/questions/856328/compiling-with-dmd-on-64bit- linux-or-linking-with-32bit-object-files
That helped! yum install glibc-devel.i686 was all. Tapadh leibh!
Nov 21 2009
parent Travis Boucher <boucher.travis gmail.com> writes:
Ellery Newcomer wrote:
 On 11/21/2009 02:11 PM, Jesse Phillips wrote:
 On Sat, 21 Nov 2009 14:01:23 -0600, Ellery Newcomer wrote:

 Just switched back to 64 bit fedora, and wonder of wonders, dmd doesn't
 work. Well, actually dmd sorta does. The linker doesn't. I'm getting

 $ ./dmd test.d

 /usr/bin/ld: crt1.o: No such file: No such file or directory



 ideas?

 dmd 2.036
While not an error I remember seeing, you might take a look at: http://stackoverflow.com/questions/856328/compiling-with-dmd-on-64bit- linux-or-linking-with-32bit-object-files
That helped! yum install glibc-devel.i686 was all. Tapadh leibh!
You can also look at http://bitbucket.org/goshawk/gdc/wiki/Home for instructions on getting D2 working with gdc. Its only 2.015, but hopefully will get updated. (infact, I am thinking of doing it myself manually)
Nov 21 2009