DMD: How to compile executable without producing .obj file?

Inkrementator anon at anon.org
Thu Nov 9 20:54:51 UTC 2023


On Sunday, 5 November 2023 at 18:58:48 UTC, BoQsc wrote:
> When you compile using `dmd` compiler you will often get `.exe` 
> and `.obj` file.
>
> I would like to only produce `.exe` file:

On linux, gdc automatically cleans up object files by default. 
Passing it the -pipe option will prevent their creation in the 
first place. Maybe it will have the same behaviour on windows.



More information about the Digitalmars-d-learn mailing list