Sparc64 support

Baptiste Daroussin bapt at FreeBSD.org
Sat Aug 8 01:56:15 UTC 2015


On Fri, Aug 07, 2015 at 04:54:46PM -0700, Adrian Chadd wrote:
> Hi,
> 
> I've tested it with mips/mips64. It works out mostly okay. There are
> still rough edges, because in the mips world we have different
> defaults in our base system gcc to what the current toolchain expects.
> But at least for mips/mips64 it spits out a kernel and binaries that
> work.
> 
> What I did to make the MIPS bits call the external toolchain:
> 
> make <existing options> NO_WERROR=1 CROSS_TOOLCHAIN=mips-gcc buildworld
> 
> .. so in theory the sparc64 stuff may just be:
> 
> pkg install sparc64-gcc sparc64-xtoolchain-gcc
> make <existing stuff> NO_WERROR=1 CROSS_TOOLCHAIN=sparc64-gcc buildworld
> 
When I added the cross toolchain it was first tested on sparc64 and people
reported that it built and run fine with it.

This was with gcc 4.9, I haven't tested with 5.2

Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20150808/33a1ba38/attachment.bin>


More information about the freebsd-hackers mailing list