This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Determine the target of a build in gcc
- From: "J. Grant" <jg-lists at jguk dot org>
- To: gcc <gcc at gcc dot gnu dot org>
- Date: Thu, 01 Jan 2004 13:06:13 +0000
- Subject: Determine the target of a build in gcc
Hello,
Is it possible to determine the target of a build when compiling with gcc?
Perhaps it is possible to see something like the target architecture? I
was interested in doing some different code within a pre-processor #if
style construct.
Kind regards
JG