How to use an external tool chain, mips/mips64

Sean Bruno sbruno at ignoranthack.me
Tue Jan 6 23:12:54 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

In an effort to help out migration of our tool chains, I've started to
play with clang/llvm trunk to see what the mips/mips64 support looks
like.  I don't know the correct-foo to do a buildworld, but this is what
I've tried:

Build a valid toolchain:
http://clang.llvm.org/get_started.html

This allows me to use /home/sbruno/build/Debug+Asserts/bin/ as my
toolchain dir
Symlink clang -> cc and clang++  ->cpp

Try a buildworld for TARGET=mips TARGET_ARCH=mips
make TARGET=mips TARGET_ARCH=mips
CROSS_TOOLCHAIN_PREFIX=/home/sbruno/build/Debug+Asserts/bin/ buildworld


This fails, as I haven't setup the assembler correctly or something. 
I'm not sure.
https://people.freebsd.org/~sbruno/full_mips_log.txt


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJUrGvpXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx
MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kZq0H/j/ZmVVpvUXxaqBKa4+17ERH
j6A8L9dyuBU6sFlZ7KbPYq4iOQyAfPYnu1l75FPEu1m7G+GqxDLtPnXiGOsoGFKR
CkNz3/oBtlHm2edWRA7kHraiTR5COW3i+DfrCumDkYV5EcRClFR6I4vl19bxs3pW
VFpnFcUsnvac29J6Qlz4JBxco9eLqoeeqBjHHazuxL6AZGxew5YgjIcQY/onFhNS
jQJ6PXLe/+BXSdf+lRG43wkLroNOPqO63RMwdYYIHJHGYpPvxmSIVwZPwn29UDW0
jc8Th4gwucy4LBgRQ1HFHmHQNr15vAkWz5SxGoxTUfdu4trzrHtvZl25rPEKKbI=
=9IsJ
-----END PGP SIGNATURE-----




More information about the freebsd-arch mailing list