Windows static linking question

frame frame86 at live.com
Tue Apr 27 11:45:04 UTC 2021


On Tuesday, 27 April 2021 at 11:08:29 UTC, Mike Parker wrote:

> So you have more than just common.d? You need to compile and 
> link all of your source modules. The big `-I` is for imports, 
> for the compiler to know what symbols are available. You will 
> also need to either include all of the source files on the 
> command line OR specify `-i`, which will tell the compiler to 
> compile all imported files except the `std` namespace. rdmd 
> does that by default.

Indeed, rdmd passes some other files too. Ahh.. this makes sense 
now. I know the option but I always thought it's enabled on 
default. Thanks!




More information about the Digitalmars-d-learn mailing list