Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jan 2015 15:12:44 -0800
From:      Sean Bruno <sbruno@ignoranthack.me>
To:        freebsd-arch@freebsd.org
Subject:   How to use an external tool chain, mips/mips64
Message-ID:  <54AC6BEC.2020500@ignoranthack.me>

next in thread | raw e-mail | index | archive | help

-----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=3Dmips TARGET_ARCH=3Dmips
make TARGET=3Dmips TARGET_ARCH=3Dmips
CROSS_TOOLCHAIN_PREFIX=3D/home/sbruno/build/Debug+Asserts/bin/ buildworld=



This fails, as I haven't setup the assembler correctly or something.=20
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=3D
=3D9IsJ
-----END PGP SIGNATURE-----





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54AC6BEC.2020500>