Build Ada compiler for nios2?

Sebastian Huber sebastian.huber@embedded-brains.de
Fri Jan 5 07:01:00 GMT 2018


On 04/01/18 16:03, Andreas Schwab wrote:
> 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.

Thanks, this worked:

nios2-rtems5-gnat --version
GNAT 8.0.0 20180105 (experimental) [master revision 
9b012eb:c9100e4:1c579c0e17cba22beb7bd87244d1148784c52dab]
Copyright (C) 1996-2018, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the Gcc mailing list