[cfe-dev] Clang flag to suppress creation of files?

David Blaikie dblaikie at gmail.com
Wed Nov 27 15:00:13 PST 2013


Just use -o /dev/null to avoid outputting the file.

On Wed, Nov 27, 2013 at 12:36 PM, Dun Peal <dunpealer at gmail.com> wrote:
> Is there a CLI flag for clang that will go through the entire compilation
> process, including assembling and linking, printing any errors and warnings,
> but will not create files on the disk?
>
> In particular, I don't need any `.out` files, nor object (`.o`) files.
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>



More information about the cfe-dev mailing list