This is the mail archive of the crossgcc@sources.redhat.com 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]

Re: Cross-gcc for SH


Alberico:


> I have built gcc 2.95.3 with host linux-i686 target sh-elf.
> everything seem OK, I have not understood exactly which is the
> difference by using target sh-elf, sh-coff and sh-hms.  I'm using a
> sh7045f EVB.

sh-elf, sh-coff and sh-hms are different debugging formats.  Sh-elf is
the most flexible and well-supported, so it's probably the one you
want.  Sh-coff is fine for basic, non-C++ work.  I don't recommend
sh-hms at all.

> Also I flashed the gdbstub and compiled GDB-5.0 for sh-elf.

Cool!

> When I try to connect, the debugger show a message saying
> invalid character 0x00.

Are you running at the right baud rate?  My gdbstub doesn't auto-baud
(yet?).

(gdb) set remotebaud <baud>


b.g.
-- 
Bill Gatliff
bgat@billgatliff.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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