[cfe-dev] [PATCH] clang/MIPS additional command-line options

Oleksandr Tymoshenko gonzo at bluezbox.com
Tue Feb 16 19:44:48 PST 2010


On 2010-02-16, at 7:34 PM, Oleksandr Tymoshenko wrote:

> I was trying to test clang on FReeBSD/mips and came to conclusion that some additional
> keys required to set proper target for compilation. This patch adds several knobs to clang/MIPS:
>    - floating point ABI (-msoft-float/-mhard-float)
>    - target CPU (-march=)
>    - target ABI (-mabi=)
> 
> Also byte order is set explicitly for toolchain assembler in based on target architecture 
> (mips/mipsel) so we don't rely on assembler default.


Shame on me. Forgot to attach the patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-mips.diff
Type: application/octet-stream
Size: 5790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100216/0b8c199e/attachment.obj>


More information about the cfe-dev mailing list