Re: Cannot configure gcc4.4.0 in order to build h8300 crosscompiler

2009-08-17 Thread ariga masahiro
Hello, Thank you ,Ian,for your reply. Ian wrote, /* Dump each assembler insn's rtl into the output file. This is for debugging the compiler only. */ #define TARGET_RTL_DUMP (target_flags & MASK_RTL_DUMP) --- But there are not above codes in GCC4.4.0's /gcc/config/h8300/h8300.h !!! All that

Re: Cannot configure gcc4.4.0 in order to build h8300 crosscompiler

2009-08-17 Thread ariga masahiro
Hello, I've studied the GCC3.3.2's patch for building h8300 toolchains and I've learned its mechanism and I am encountered with new question. Would you please teach me. When gcc-configuration makes libgcc.a,double must be 64 bits,and when making h8300-elf-gcc double must be 32 bits. In order

Re: Cannot configure gcc4.4.0 in order to build h8300 crosscompiler

2009-07-30 Thread ariga masahiro
Hello, I am sorry to rush mails. But I found the patch I sent was already included in GCC4.4.0 libgcc2.h. So please ignore my previous mail. Returning to original problem,apparently L_bswapdi2 is somewhere defined. But I could not find L_bswapdi2 defined anywhere. Where and how is it defined ?

Re: Cannot configure gcc4.4.0 in order to build h8300 crosscompiler

2009-07-30 Thread ariga masahiro
Hello, I am very sorry to have found previous mail was badly formatted. I send the same text. I found next patch in GCC project site. From: Eric Christopher Date: Tue, 3 Jul 2007 08:35:21 -0700 Subject: [patch] conditionally declare bswap functions depending on target Do you think it is effect

Re: Cannot configure gcc4.4.0 in order to build h8300 crosscompiler

2009-07-29 Thread ariga masahiro
Hello,I found next patch in GCC project site.a.. From: Eric Christopher b.. To: gcc mailing list org> c.. Cc: Pompapathi V Gadad d.. Date: Tue, 3 Jul 2007 08:35:21 -0700 e.. Subject: [patch] conditionally declare bswap functions depending on target f.. References: <4678c015.50...@nsc.com> <89

Re: Cannot configure gcc4.4.0 in order to build h8300 crosscompiler

2009-07-29 Thread ariga masahiro
Hello Sumanth, and everyone, Thank you for your reply. Sumanth wrote, Try changing MINIMUM_UNITS_PER_WORD to greater than or equal to 2 in ur target.h file I think you mean MIN_UNITS_PER_WORD in gcc/config/h8300/h8300.h. Unfortunately it was defined 2. Here are excerpts from gcc/config/h830

Cannot configure gcc4.4.0 in order to build h8300 crosscompiler

2009-07-28 Thread ariga masahiro
Hello everyone, I am struggling to build h8300 crosscompiler from GCC4.4.0. I learned it is necessary to patch gcc for complying to double 64 bits. I used next sources. binutils-2.19.1.tar.bz2 gcc-4.4.0.tar.bz2 newlib-1.17.0.tar.gz I've got patch for GCC3.3.2 source. I appended it in compressed