www.digitalmars.com         C & C++   DMDScript  

D.gnu - gdc compiles on Debian

reply Bastiaan Veelo <Bastiaan.N.Veelo ntnu.no> writes:
Hi,

On Debian Sarge i386 I just had success compiling and running hello.d 
with the GNU D Compiler. I got link problems with wc.d, but I will work 
on that.

gdc was compiled with gcc-3.3.3, against the gcc-3.3.3 sources. There 
were loads of warnings in the dmd compartment, and I had to edit two 
source files:

In gcc/d/dmd/expression.c lines 567, 569 and 589 I had to add LL to the 
integer constants.

The same in gcc/d/dmd/lexer.c lines 1478, 1480, 1489, 1491, 1499, 1507.


Well done David!

Bastiaan.
Mar 22 2004
parent "Walter" <walter digitalmars.com> writes:
I updated my versions of expression.c and lexer.c to incorporate this.
Thanks.

"Bastiaan Veelo" <Bastiaan.N.Veelo ntnu.no> wrote in message
news:c3njhi$10p1$1 digitaldaemon.com...
 Hi,

 On Debian Sarge i386 I just had success compiling and running hello.d
 with the GNU D Compiler. I got link problems with wc.d, but I will work
 on that.

 gdc was compiled with gcc-3.3.3, against the gcc-3.3.3 sources. There
 were loads of warnings in the dmd compartment, and I had to edit two
 source files:

 In gcc/d/dmd/expression.c lines 567, 569 and 589 I had to add LL to the
 integer constants.

 The same in gcc/d/dmd/lexer.c lines 1478, 1480, 1489, 1491, 1499, 1507.


 Well done David!

 Bastiaan.
Mar 22 2004