Reputation: 8211
I've generated a preprocessor out using the -E
command.
Is it possible to compile exactly that generated file using gcc
?
Upvotes: 0
Views: 203
Reputation: 206909
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.
Upvotes: 2