I’ve generated a preprocessor out using the -Ecommand.
Is it possible to compile exactly that generated file using gcc?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.