This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Detemining the size of int_fast8_t etc. in the frontend
- From: Tobias Burnus <burnus at net-b dot de>
- To: GCC <gcc at gcc dot gnu dot org>
- Date: Wed, 07 Mar 2007 20:21:28 +0100
- Subject: Detemining the size of int_fast8_t etc. in the frontend
Hi,
gfortran provides via ISO C Bindings access to the C types int, float
etc. It also provides access to int_fast8_t, int_fast16_t, etc. of stdint.h.
Using "#include <stdint.h>" with e.g. sizeof(int_fast8_t) does not work
with cross compilations. (It actually fails already for -m32 on x86-64.)
On the other hand, "struct gcc_target" does not seem to provide this
information.
What is the proper way to obtain this information?
Tobias