Re: dmd vs rdmd

2011-06-13 Thread Joshua Niehus
t; > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Digitalmars-d-learn digest..." > > > Today's Topics: > > 1. dmd vs rdmd (Joshua Niehus) > 2. Re: dmd vs rdmd (Jonathan M Davis) > 3. Re: dmd vs rdmd

Re: dmd vs rdmd

2011-06-10 Thread Andrej Mitrovic
Perhaps -L is just a linux feature, on Windows it only passes options to Optlink, and passing directories won't add them to search paths for library files. E.g. if I have: main.d foo/test.d foo/test.lib <- compiled as a library and try to invoke: dmd main.d -I.\foo\ test.lib -L.\foo\ Optlink won

Re: dmd vs rdmd

2011-06-10 Thread Jonathan M Davis
On 2011-06-10 14:28, Joshua Niehus wrote: > Hello, > > I am trying to compile code which is composed of two modules (in the same > directory): > > main.d > foo.d > > foo.d just declares a class Foo which has a string variable "bar" which i > set to "hello" and main.d just prints bar's value to t

dmd vs rdmd

2011-06-10 Thread Joshua Niehus
Hello, I am trying to compile code which is composed of two modules (in the same directory): main.d foo.d foo.d just declares a class Foo which has a string variable "bar" which i set to "hello" and main.d just prints bar's value to the console: // - main.d --- import std.stdio,