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


At Thu, 15 Jan 2004 10:59:03 -0600,
Eljay Love-Jensen wrote:
> 
> 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

Hmm, i was unclear.

I know of the -D flag ;-)

The problem is that gcc should do these defines (and provide stddef.h for
that matter) _by_itself_, i.e. automagically.

I experience it otherwise, which is the reason of my bothers.

> 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

These are useful, yes. Thanks. (The original problem is unsolved, nevertheless)

> HTH,
> --Eljay

regards, Samium Gromoff



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