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: FreeBSD cross-compile


> Ah, I see.  I'd be interested in any progress that you make in this.  If
> I remember correctly from trying to build a freebsd-cygwin32
> cross-compiler, it may not be possible.  Unfortunately, from what I've
> been told, newlib, and thus the Cygnus GCC kit doesn't work (yet?) with
> FreeBSD.  8(

Well, newlib works for building a FreeBSD->Hitachi (target=sh-hms) cross,
because I have one installed and working. The only thing that required
some tweaking was the gdb remote debug packet size. The default size in
gdb-4.16 overruns the Hitachi board. A friend of mine (darren@wdc.net) had
figured out the right size, but he has since deleted the source, so I
still have the same problem under Linux (I built a Linux->Hitachi
(target=sh-hms) cross - it works, except for gdb overrunning the Hitachi
board). Does anyone have the right packet size at their finger tips?
 
> I've been meaning to look into this, but have realized that I'll have to
> put it off until the Summer.  If you have any pointers, I'll be happy to
> try them out on my end.  Also, what version of FreeBSD are you using
> (2.1.7, 2.2, or current)?
> 

2.2-BETA.  

Bernie