Tool/software: TI C/C++ Compiler
Hello,
what are the analogs for the following functionality of the GCC compiler:
1) Find out a set of standard-defined precompiler switches for c2000:
gcc.gnu.org/.../Preprocessor-Options.html
with GCC i can do:
touch empty.h; gcc -E -dM empty.h
giving me
#define __DBL_MIN_EXP__ (-1021) #define __UINT_LEAST16_MAX__ 0xffff #define __ATOMIC_ACQUIRE 2 #define __FLT_MIN__ 1.17549435082228750797e-38F #define __GCC_IEC_559_COMPLEX 2 #define __UINT_LEAST8_TYPE__ unsigned char #define __SIZEOF_FLOAT80__ 16 #define _WIN32 1
..
2) Find a set of header dependencies for a file for c2000:
https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html#index-M
With GCC i can do:
echo "#include <stdio.h>" > header.h; gcc -E -M header.h
Giving me
header.o: header.h \ C:/Program\ Files/mingw-w64/x86_64-6.3.0-posix-seh-rt_v5-rev1/mingw64/x86_64-w64-mingw32/include/stdio.h \ C:/Program\ Files/mingw-w64/x86_64-6.3.0-posix-seh-rt_v5-rev1/mingw64/x86_64-w64-mingw32/include/crtdefs.h \ ...