xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/phoenix.h (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
11debfc3dSmrg /* Base configuration file for all Phoenix-RTOS targets.
2*8feb0f0bSmrg    Copyright (C) 2016-2020 Free Software Foundation, Inc.
31debfc3dSmrg 
41debfc3dSmrg This file is part of GCC.
51debfc3dSmrg 
61debfc3dSmrg GCC is free software; you can redistribute it and/or modify
71debfc3dSmrg it under the terms of the GNU General Public License as published by
81debfc3dSmrg the Free Software Foundation; either version 3, or (at your option)
91debfc3dSmrg any later version.
101debfc3dSmrg 
111debfc3dSmrg GCC is distributed in the hope that it will be useful,
121debfc3dSmrg but WITHOUT ANY WARRANTY; without even the implied warranty of
131debfc3dSmrg MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
141debfc3dSmrg GNU General Public License for more details.
151debfc3dSmrg 
161debfc3dSmrg You should have received a copy of the GNU General Public License
171debfc3dSmrg along with GCC; see the file COPYING3.  If not see
181debfc3dSmrg <http://www.gnu.org/licenses/>.  */
191debfc3dSmrg 
201debfc3dSmrg #undef TARGET_OS_CPP_BUILTINS
211debfc3dSmrg #define TARGET_OS_CPP_BUILTINS()           \
221debfc3dSmrg     do {                                   \
231debfc3dSmrg       builtin_define_std ("phoenix");      \
241debfc3dSmrg       builtin_define_std ("unix");         \
251debfc3dSmrg       builtin_assert ("system=phoenix");   \
261debfc3dSmrg       builtin_assert ("system=unix");      \
27a2dc1f3fSmrg     } while (0)
281debfc3dSmrg 
291debfc3dSmrg #define STD_LIB_SPEC "%{!shared:%{g*:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}}"
301debfc3dSmrg 
311debfc3dSmrg /* This will prevent selecting 'unsigned long int' instead of 'unsigned int' as 'uint32_t' in stdint-newlib.h. */
321debfc3dSmrg #undef STDINT_LONG32
331debfc3dSmrg #define STDINT_LONG32		0
34