简体   繁体   中英

Compile preprocessor output using gcc

I've generated a preprocessor out using the -E command.

Is it possible to compile exactly that generated file using gcc ?

Yes, just save the output as a C or C++ file (or whatever the input was).

That's exactly what GCC does, schematically speaking: preprocess, then compile.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM