Yes. Use the -E
option:
gcc -E foo.c
More Related Contents:
- Why does the order in which libraries are linked sometimes cause errors in GCC?
- GCC dump preprocessor defines
- CUDA incompatible with my gcc version
- How to install GCC piece by piece with GMP, MPFR, MPC, ELF, without shared libraries?
- How to see which flags -march=native will activate?
- How can I tell, with something like objdump, if an object file has been built with -fPIC?
- exit.c:(.text+0x18): undefined reference to `_exit’ when using arm-none-eabi-gcc
- What does the compiler error “missing binary operator before token” mean?
- Selectively remove a warning message using GCC
- How to Install gcc 5.3 with yum on CentOS 7.2?
- How to specify non-default shared-library path in GCC Linux? Getting “error while loading shared libraries” when running
- gcc/g++ option to place all object files into separate directory
- Cuda Clang and OS X Mavericks
- How is -march different from -mtune?
- How can I see parse tree, intermediate code, optimization code and assembly code during COMPILATION?
- How to set a variable in GCC with Intel syntax inline assembly?
- long double (GCC specific) and __float128
- How to write multiline inline assembly code in GCC C++?
- Errors that refer to a bunch of unresolved OpenSSL symbols that clearly exist?
- Why do the addresses in my assembler dump differ from the addresses of registers?
- Why would one use #include_next in a project?
- Makefile removes object files for no reason
- CMake and Static Linking
- linking arbitrary data using GCC ARM toolchain
- Hiding symbol names in library
- valgrind, gcc 6.2.0 and “-fsanitize=address”
- Mathematical functions for SIMD registers
- How to view C preprocessor output?
- What exactly is LLVM?
- What’s the difference between -O3 and (-O2 + flags that man gcc says -O3 adds to -O2)?