This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

Re: Problems building gcc 2.8.1 for --target=sh-hms


Bill Gatliff wrote:
> 
> Randall:
> 
> When you say H8, is that the 8-bit stuff, or SH2 (i.e. 7040-series), or
> both/more?
> 
> Thanks!

ans: both and more.

--target=h8300-hitachi-hms will build a multilib, that is, libraries for
h8300
h8300h
int32 version of h8300h
h8300s
int32 version of h8300s

the compiler/linker/debugger will support 8-32bit versions and include
the appropriate
lib by using the [-mh | -ms] [-int32] options with gcc and the
corresponding options
for the linker if you invoke it seperately.
So for SH2, use gcc -ms [-mint32] and ld -mh8300s
The gdb debugger supports simulation for each, though I've only tested
gdb with 8 bit h8/300

-- 
|\/|
|/\|  randall@elgar.com
|\/|  rsl@zanshinsys.com http://www.zanshinsys.com
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.