Running dmd on ubuntu with AMD64
Jason House
jason.james.house at gmail.com
Sun Apr 22 10:31:29 PDT 2007
Worked like a charm! I'm surprised that wasn't on the ubuntu x86 64-bit
forum. Time to go make another post...
Frits van Bommel wrote:
> Jason House wrote:
>> I've discovered that the ubuntu linux distribution refuses to run 32
>> bit applications out of the box. Are there plans for releasing a 64
>> bit version of dmd? Is there anyone more experienced than me that has
>> created a .deb (debian package) file that I can use?
>>
>> jhouse at server:~/dmd/bin$ ls -al dmd
>> -rwxr-xr-x 1 jhouse jhouse 1009284 2007-03-26 00:45 dmd
>>
>> jhouse at server:~/dmd/bin$ ./dmd
>> -bash: ./dmd: No such file or directory
>>
>> jhouse at server:~/dmd/bin$ ldd dmd
>> not a dynamic executable
>>
>> jhouse at server:~/dmd/bin$ file dmd
>> dmd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
>> GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
>
> Try installing the "ia32-libs" package.
>
> Works just fine for me:
> =====
> urxae at urxae:~/opt/dmd/bin$ ls -l dmd
> -rwx------ 1 urxae urxae 1014564 2007-04-19 12:04 dmd
> urxae at urxae:~/opt/dmd/bin$ ./dmd | head -n 2 # to shorten the output
> Digital Mars D Compiler v1.013
> Copyright (c) 1999-2007 by Digital Mars written by Walter Bright
> urxae at urxae:~/opt/dmd/bin$ file dmd
> dmd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
> GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux
> 2.2.5, stripped
> urxae at urxae:~/opt/dmd/bin$ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 6.10
> Release: 6.10
> Codename: edgy
> urxae at urxae:~/opt/dmd/bin$ uname -m
> x86_64
> =====
More information about the Digitalmars-d-learn
mailing list