How to disable a build for selected architectures?

Gedare Bloom gedare at rtems.org
Tue Jun 25 13:45:53 UTC 2013


The easiest thing to do would be to add a new configure switch for
--enable-utf8proc.

On Tue, Jun 25, 2013 at 3:39 AM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
> Hello,
>
> the utf8proc library is not available on 16-bit targets:
>
> m32c-rtems4.11-gcc --pipe -DHAVE_CONFIG_H   -I..
> -I../../cpukit/../../../m32csim/lib/include   -mcpu=m32cm -O0 -g -Wall
> -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes
> -Wnested-externs -MT utf8proc/utf8proc.o -MD -MP -MF $depbase.Tpo -c -o
> utf8proc/utf8proc.o
> /home/sh/git-rtems/c/src/../../cpukit/libmisc/utf8proc/utf8proc.c &&\
> mv -f $depbase.Tpo $depbase.Po
> In file included from
> /home/sh/git-rtems/c/src/../../cpukit/libmisc/utf8proc/utf8proc.c:43:0:
> /home/sh/git-rtems/c/src/../../cpukit/libmisc/utf8proc/utf8proc_data.c:1484:3:
> error: size of array is too large
> /home/sh/git-rtems/c/src/../../cpukit/libmisc/utf8proc/utf8proc_data.c:4946:3:
> error: size of array is too large
> In file included from
> /home/sh/git-rtems/c/src/../../cpukit/libmisc/utf8proc/utf8proc.c:43:0:
> /home/sh/git-rtems/c/src/../../cpukit/libmisc/utf8proc/utf8proc_data.c:13382:3:
> error: size of array is too large
> /home/sh/git-rtems/c/src/../../cpukit/libmisc/utf8proc/utf8proc.c: In
> function 'utf8proc_iterate':
> /home/sh/git-rtems/c/src/../../cpukit/libmisc/utf8proc/utf8proc.c:148:5:
> warning: left shift count >= width of type [enabled by default]
> /home/sh/git-rtems/c/src/../../cpukit/libmisc/utf8proc/utf8proc.c: In
> function 'utf8proc_get_property':
> /home/sh/git-rtems/c/src/../../cpukit/libmisc/utf8proc/utf8proc.c:198:30:
> error: invalid operands to binary + (have 'const struct utf8proc_property_t
> *' and 'utf8proc_property_t')
> /home/sh/git-rtems/c/src/../../cpukit/libmisc/utf8proc/utf8proc.c: In
> function 'utf8proc_reencode':
> /home/sh/git-rtems/c/src/../../cpukit/libmisc/utf8proc/utf8proc.c:493:23:
> error: incompatible types when assigning to type 'int32_t' from type
> 'utf8proc_property_t'
> /home/sh/git-rtems/c/src/../../cpukit/libmisc/utf8proc/utf8proc.c:493:11:
> warning: statement with no effect [-Wunused-value]
> gmake[5]: *** [utf8proc/utf8proc.o] Error 1
> gmake[5]: Leaving directory
> `/scratch/git-build/b-all-m32c-rtems4.11/m32c-rtems4.11/c/m32csim/cpukit/libmisc'
>
> What it the best way to disable the utf8proc library build for such targets?
>
> --
> 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 at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel




More information about the devel mailing list