This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]