dmd.conf change for Ubuntu 11.10

Trass3r un at known.com
Sat Oct 15 05:03:04 PDT 2011


Am 14.10.2011, 22:05 Uhr, schrieb Justin Whear  
<justin at economicmodeling.com>:

> Changes to gcc or ld in Ubuntu 11.10 require a small addition to prevent
> linker errors referencing librt. "-L-lphobos2" needs to be added to  
> DFLAGS
> before "-L-lrt". I spent a long time trying to figure the problem out  
> before
> I realized that gcc was tacking on a -lphobos2 to the END of the command
> (after the -lrt flag).
>
> This page: https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition may
> explain the behavior, I'm not sure.

That page is about Natty though, i.e. 11.04.
Strangely I used 11.04 for quite some time and didn't experience any  
problems.


More information about the Digitalmars-d mailing list