[uClibc]ARCH_CFLAGS

Erik Andersen andersen at codepoet.org
Fri Nov 15 09:34:23 UTC 2002


On Wed Nov 13, 2002 at 12:51:47AM +0900, Yoshinori Sato wrote:
> I test uClibc-0.9.16.
> Because ARCH_CFLAGS is carried to gcc done a quote of, I become error.
> 
> h8300-hms-gcc "-Wall" -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
>   -Os -fno-builtin -nostdinc  -D_LIBC  "-mh -mint32 -fsigned-char" -I../../../include
>  -I. -I/home/ysato/h8hms/lib/gcc-lib/h8300-hms/2.95.3/include -DNDEBUG  -c __assert.c -o __assert.o
> In file included from ../../../include/bits/types.h:30,
>                  from ../../../include/stdio.h:36,
>                  from __assert.c:31:
> ../../../include/bits/kernel_types.h:9: warning: #warning You really should include a proper bits/kernel_types.h for your architecture 
> cc1: Invalid option `h -mint32 -fsigned-char'

I think the options you are specifying should go into Rules.mak
as CPU_CFLAGS.  See the examples in Rules.mak for i386, arm, and
sh for examples.

> May you do a quote?
> 
> I found some problems with h8300.
> I send a future difference minute.

I will gladly merge your patches to update the h8300
architecture.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list