http://d.puremagic.com/issues/show_bug.cgi?id=3564


Nick Sabalausky <cbkbbej...@mailinator.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cbkbbej...@mailinator.com


--- Comment #1 from Nick Sabalausky <cbkbbej...@mailinator.com> 2010-09-07 
18:59:47 PDT ---
rdmd's parameter format is:
rdmd [RDMD AND DMD OPTIONS]... program [PROGRAM OPTIONS]...

The order is important.

This works fine:

------------------------
$ cat main.d
module main;
import theLib;
void main()
{
    foo();
}

$ cat theLib.d
module theLib;
import std.stdio;
void foo()
{
    writeln("In foo");
}

$ dmd theLib.d -lib
$ mv theLib.d hide-this-file-and-keep-it-out-of-the-way-theLib.d
$ rdmd -LtheLib.a main.d
In foo
------------------------

But be aware of this:
http://d.puremagic.com/issues/show_bug.cgi?id=4814

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to