Trouble with OPTLINK

Brad Roberts braddr at puremagic.com
Sat Nov 13 19:19:14 PST 2010


On 11/13/2010 1:14 PM, bearophile wrote:
> Aardvark Soup:
> 
>> I've already tried cleaning up all build files and adding the current 
>> directory to the system PATH, both to no avail. This does not happen 
>> while I compile single-file programs that import from the standard 
>> library. Does anyone have an idea how to fix this?
> 
> This is a problem that Walter seems to think it doesn't exist.
> The solution is to add all the module names you use in the command line.
> 
> Bye,
> bearophile

Interesting way you phrased your response.

The behavior of dmd here is explicit and specifically intended.  It's exactly
the same as every c and c++ compiler's behavior.  It's different than java.  And
interpreted languages are a different enough execution model to not compare them
directly.

rdmd can be used to build and execute multi-file applications more like
traditional scripting languages.

Later,
Brad


More information about the Digitalmars-d-learn mailing list