Re: trouble getting started with D

2010-03-19 Thread Walter Bright
Lars T. Kyllingstad wrote: For completeness' sake you should probably also add a 'sudo' in front of 'dpkg'. I forgot that in my post. Ok.

Re: trouble getting started with D

2010-03-19 Thread Lars T. Kyllingstad
Walter Bright wrote: Lars T. Kyllingstad wrote: The 32-bit DMD compiler works fine on 64-bit Ubuntu, even though the .deb file is marked as i386. Try this: dpkg -i --force-architecture dmd_2.041-0_i386.deb Note that since the compiler is 32-bit, it only works with 32-bit libraries. You m

Re: trouble getting started with D

2010-03-18 Thread Paul D. Anderson
Nick Sabalausky Wrote: > "grauzone" wrote in message > news:hntpft$1dd...@digitalmars.com... > > bearophile wrote: > >> Andrew Marlow: > >>> Well, thanks for that, at least I know now. But I am a bit peeved. What > >>> is the point in calling something 'std' if it is not standard. I am used >

Re: trouble getting started with D

2010-03-18 Thread Walter Bright
Lars T. Kyllingstad wrote: The 32-bit DMD compiler works fine on 64-bit Ubuntu, even though the .deb file is marked as i386. Try this: dpkg -i --force-architecture dmd_2.041-0_i386.deb Note that since the compiler is 32-bit, it only works with 32-bit libraries. You must therefore install

Re: trouble getting started with D

2010-03-18 Thread Andrew Marlow
Lars T. Kyllingstad Wrote: > > Where do I go from here? I would really like to try it? If there is a 64 > > bit install for ubuntu can someone post a URL please? > The 32-bit DMD compiler works fine on 64-bit Ubuntu, even though the > .deb file is marked as i386. Try this: > >dpkg -i --fo

Re: trouble getting started with D

2010-03-18 Thread qwerty
Lars T. Kyllingstad Wrote: > Back in the days, some people found D1's standard library, Phobos (aka. > the std namespace), a bit too simplistic, and so they went and created > an alternative "standard library", Tango: > >http://www.dsource.org/projects/tango > > Some see this as a problem,

Re: trouble getting started with D

2010-03-18 Thread Nick Sabalausky
"grauzone" wrote in message news:hntpft$1dd...@digitalmars.com... > bearophile wrote: >> Andrew Marlow: >>> Well, thanks for that, at least I know now. But I am a bit peeved. What >>> is the point in calling something 'std' if it is not standard. I am used >>> to 'std' meaning 'it comes with th

Re: trouble getting started with D

2010-03-18 Thread grauzone
bearophile wrote: Andrew Marlow: Well, thanks for that, at least I know now. But I am a bit peeved. What is the point in calling something 'std' if it is not standard. I am used to 'std' meaning 'it comes with the compiler environment'. Please, ask questions like those ones on the learn news

Re: trouble getting started with D

2010-03-18 Thread Lars T. Kyllingstad
Andrew Marlow wrote: bearophile Wrote: Andrew Marlow Wrote: So I tried ldc but it complains that it can't import std.stdio.< ldc is a D1 compiler that comes with Tango standard lib, so it doesn't have the std.stdio. You have to use Tango I/O functions. Well, thanks for that, at least I kno

Re: trouble getting started with D

2010-03-18 Thread bearophile
Andrew Marlow: > Well, thanks for that, at least I know now. But I am a bit peeved. What is > the point in calling something 'std' if it is not standard. I am used to > 'std' meaning 'it comes with the compiler environment'. Please, ask questions like those ones on the learn newsgroup. Bye, bea

Re: trouble getting started with D

2010-03-18 Thread Steven Schveighoffer
On Thu, 18 Mar 2010 08:43:40 -0400, Andrew Marlow wrote: bearophile Wrote: Andrew Marlow Wrote: >So I tried ldc but it complains that it can't import std.stdio.< ldc is a D1 compiler that comes with Tango standard lib, so it doesn't have the std.stdio. You have to use Tango I/O functions

Re: trouble getting started with D

2010-03-18 Thread Andrew Marlow
bearophile Wrote: > Andrew Marlow Wrote: > >So I tried ldc but it complains that it can't import std.stdio.< > > ldc is a D1 compiler that comes with Tango standard lib, so it doesn't have > the std.stdio. You have to use Tango I/O functions. Well, thanks for that, at least I know now. But I am

Re: trouble getting started with D

2010-03-18 Thread Lars T. Kyllingstad
Andrew Marlow wrote: I would like to start using D but am running into some problems. I am using 64 bit ubuntu, Karmic Koala. I tried using the GNU D compiler (gdc) but even a hello world type program core dumps in the print statement. So I tried ldc but it complains that it can't import std.s

Re: trouble getting started with D

2010-03-18 Thread bearophile
Andrew Marlow Wrote: >So I tried ldc but it complains that it can't import std.stdio.< ldc is a D1 compiler that comes with Tango standard lib, so it doesn't have the std.stdio. You have to use Tango I/O functions. Bye, bearophile

trouble getting started with D

2010-03-18 Thread Andrew Marlow
I would like to start using D but am running into some problems. I am using 64 bit ubuntu, Karmic Koala. I tried using the GNU D compiler (gdc) but even a hello world type program core dumps in the print statement. So I tried ldc but it complains that it can't import std.stdio. So I tried the Di