This is the mail archive of the gcc-help@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]

Re: __linux__, _MIPS_SZ{INT,LONG,PTR}, _MIPS_ISA


Hi Samium,

>What does one have to do in order to have gcc defining...

Some combination of...
gcc -D__linux__ foo.c

gcc -D_MIPS_SZINT=32 -D_MIPS_SZLONG=64 -D_MIPS_SZPTR=64 foo.c
(or whatever the sizes are)

gcc -D_MIPS_ISA foo.c

To see what GCC does define...
gcc -E -dM foo.c

To see what GCC puts on the internal command lines...
gcc -v foo.c

HTH,
--Eljay



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