This is the mail archive of the gcc@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: Build Ada compiler for nios2?


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."


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