H8/300 Patch (Re: [uClibc]ARCH_CFLAGS)

Yoshinori Sato qzb04471 at nifty.ne.jp
Sun Nov 17 14:40:30 UTC 2002


At Fri, 15 Nov 2002 02:34:23 -0700,
Erik Andersen wrote:
> 
> 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.

It was solved with CPU_CFLAGS. 

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

Thanks.
I attach a patch.

-- 
Yoshinori Sato
<qzb04471 at nifty.ne.jp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uClibc-h8300.diff
Type: application/octet-stream
Size: 12076 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20021117/e7acde69/attachment.obj 


More information about the uClibc mailing list