This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

h8300 crosscompiler patch


Hello,

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've got patch for GCC3.3.2 source.
I append it in zip compressed file.
But I was disappointed that it could not be used for GCC4.4.0 source per se.

So I am studying the patch and trying to change GCC4.4.0 source for installing h8300 croscompiler.

The patch changes next four files.

/gcc-3.3.2/gcc/config/h8300/extfloatlib.c
/gcc-3.3.2/gcc/config/h8300/float-h8300.h
/gcc-3.3.2/gcc/config/h8300/h8300.h
/gcc-3.3.2/gcc/config/h8300/t-h8300

First two files(extfloatlib.c,float-h8300.h) are newly made,so I think I could use them per ce into GCC4.4.0 source.
h8300.h and t-h8300 are modified and I must apply differences to GCC4.4.0 source.


The patch adds next line into 143 line of GCC3.3.2's h8300.h.

#define TARGET_MODE (target_flags & 16384)

As I tried to insert above define sentence in GCC4.4.0's h8300.h I was shocked to have found that there is no TARGET_MODE or target_flags.
Please teach me is it alright that I omit to insert above define sentence at all.


Or if it is necessary to add it,could you teach me how to do it ?
I am very obliged.

And about another addings I intend to add the same sentences int GCC4.4.0's h8300.h.
If you notice carelessness could you enlighten me.


Masahiro Ariga

Attachment: gcc_diff-new.gz
Description: GNU Zip compressed data

--
For unsubscribe information see http://sourceware.org/lists.html#faq

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]