Re: cross toolchain for u-boot?

Rui-Xiang Guo <[email protected]> Tue, 24 Sep 2024 16:13:58 +0800
Newsgroups gmane.os.netbsd.ports.sh3
Message-ID <ZvJ0xl_WQAnfqgvT@picohive>
On Mon, Sep 23, 2024 at 03:59:16PM +0300, Valery Ushakov wrote:
> On Mon, Sep 23, 2024 at 20:48:51 +0800, Rui-Xiang Guo wrote:
> 
> > Is there any cross toolchain package that can be used to compile u-boot
> > for sh3el?
> > If one needs to be created, would it be appropriate to set the target
> > as shle-none-elf?
> 
> I don't think we have anything readily available in pkgsrc, but
> reusing netbsd's own cross-toolchan from $TOOLDIR might be an option.
> Some very old notes of mine are here, they should still be mostly
> relevant, I think: http://www.stderr.spb.ru/~uwe/netbsd/cross.html
> 
> If you want to create packages, just look at what cross/{arm,aarch64}*
> do.

It looks like that newlib lacks complete support for sh cpus, so there
is no need to create the cross/sh* packages, right?

-rxg