Porting gcc to HP Nonstop Ux
praveen
praveen.khanna@wipro.com
Fri May 2 05:49:00 GMT 2003
Thanks a lot Neil. So I should remove it from my nonstopux.h, right?
With Regards-Praveen
------------------------------------------------------------------------
----------------
Praveen Khanna Tel:(91)-(80)-5732296(2020)
Wipro Technologies, 98442-63812
#26,Hosur Main Road, e-mail:praveen.khanna@wipro.com
Bommanhalli,
Bangalore-68
"Kindness is in our power, even when fondness is not.
-Samuel Johnson, lexicographer"
------------------------------------------------------------------------
----------------
-----Original Message-----
From: Neil Booth [mailto:neil@daikokuya.co.uk]
Sent: Friday, May 02, 2003 11:12 AM
To: praveen
Cc: 'Jim Wilson'; gcc-bugs@gcc.gnu.org
Subject: Re: Porting gcc to HP Nonstop Ux
praveen wrote:-
> To mimic that, we had written in the tm_file, name nonstopux.h,
> "#define SUBTARGET_CPP_SPEC " \ %{!ansi:%{!traditional:-D_LONGLONG
> -D_NEC_SOURCE -D__STDC__=0}} \ %{ansi:-D__STDC__=1} \
> %{traditional:-D_LONGLONG -Dhost_mips -Dunix -U__STDC__} \
> %{!mips*:-D_MIPS_ISA=_MIPS_ISA_MIPS2 -D__mips=2 -D__mips__=2 \
> %{traditional:-Dmips=2} \
> } \"
>
>
> Perhaps the above could be a source of the problem, in traditional,
> __STDC__ is undefined while In -std, it is defined as 0.
>
> Could that be a source of the warning?
__STDC__ is a GCC built-in; leave GCC to define it itself. It will do
the right thing.
Neil.
More information about the Gcc-bugs
mailing list