Re: dmd compile with imported modules

2011-01-09 Thread useo
I solved the problem by copying the source files from my shared vm- folder to my desktop in my vm.

Re: dmd compile with imported modules

2011-01-09 Thread useo
I just compiled xfbuild on 32bit ubuntu, but when I try to compile, I get the following error: Build failed: /usr/include/d/dmd/druntime/import/core/stdc/errno.o: Invalid cross-device link. Does anyone know how to solve this problem?

Re: dmd compile with imported modules

2011-01-02 Thread useo
rdmd has some problems with my lib-files. Instead of rdmd I just tried xfbuild and it works great on windows, but as I can see there is no linux 32 bit version which I would like to use?!

Re: dmd compile with imported modules

2011-01-01 Thread Jonathan M Davis
On Saturday 01 January 2011 07:07:12 spir wrote: > On Sat, 1 Jan 2011 13:34:47 + (UTC) > > useo wrote: > > Hey guys, > > > > I've the following problem... when I write a simple class, for > > example: > > > > ... > > module myclasses.exampleClass; > > > > class exampleClass { > > void writ

Re: dmd compile with imported modules

2011-01-01 Thread Jesse Phillips
David Nadlinger Wrote: > On 1/1/11 2:42 PM, David Nadlinger wrote: > > There has been some discussion on this recently, but for now, rdmd > > should be the tool to use. > > Oh, if you are looking for a dedicated »build tool«, you might also want > have a look at xfBuild which was created to ma

Re: dmd compile with imported modules

2011-01-01 Thread spir
On Sat, 1 Jan 2011 13:34:47 + (UTC) useo wrote: > Hey guys, > > I've the following problem... when I write a simple class, for > example: > > ... > module myclasses.exampleClass; > > class exampleClass { > void writeHelloWorld() { > writeln("Hello World"); > } > > And import myclasses.exa

Re: dmd compile with imported modules

2011-01-01 Thread David Nadlinger
On 1/1/11 2:42 PM, David Nadlinger wrote: There has been some discussion on this recently, but for now, rdmd should be the tool to use. Oh, if you are looking for a dedicated »build tool«, you might also want have a look at xfBuild which was created to manage module dependencies for recompila

Re: dmd compile with imported modules

2011-01-01 Thread David Nadlinger
On 1/1/11 2:34 PM, useo wrote: I always have to compile the mainfile-module with "dmd mainfile.d myclasses/exampleClass.d" because of the obj-files. My projects are always growing and I don't want list all 100 or more classes/files in the command line. Is there any possibility to automatically im