This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Build Ada compiler for nios2?
- From: Andreas Schwab <schwab at suse dot de>
- To: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- Cc: GCC <gcc at gcc dot gnu dot org>
- Date: Thu, 04 Jan 2018 16:03:33 +0100
- Subject: Re: Build Ada compiler for nios2?
- Authentication-results: sourceware.org; auth=none
- References: <d1550018-2d14-8669-bc8f-e3f184c9f51e@embedded-brains.de>
On Jan 04 2018, Sebastian Huber <sebastian.huber@embedded-brains.de> wrote:
> /home/sh/src/gcc/gcc/config/nios2/nios2.h:436:31: error: expected '=',
> ',', ';', 'asm' or '__attribute__' before 'nios2_section_threshold'
> extern unsigned HOST_WIDE_INT nios2_section_threshold;
Change the preprocessor conditional to check USED_FOR_TARGET instead of
IN_LIBGCC2.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."