[cfe-dev] How to set my assembler?
justmao945 at gmail.com
Fri May 4 07:58:41 PDT 2012
OK. And I my system this is arm-unknown-linux-gnueabi-as, which determined
by the prefix setting.
On Fri, May 4, 2012 at 10:53 PM, Joerg Sonnenberger <joerg at britannica.bec.de
> On Fri, May 04, 2012 at 10:23:10PM +0800, Jianjun Mao wrote:
> > Hi all.
> > clang(3.0, Linux) will set "as" in PATH as the default assembler, but I
> > want to change this like using this option "-ccc-gcc-name" to change the
> > default gcc. But as mentioned here
> > http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-June/015671.htmlthere's no
> > "-ccc-gas-name" or "-ccc-as-name" to specify the assembler. So what I can
> > do is to add "as" into PATH. Now I'm using clang to cross compile
> > arm-target programs, and I must set arm-xxx-as to the default assembler.
> > is not nice to create a symbol link named "as" in PATH linked to
> > which will overlap the default assember "/usr/bin/as". So if any one can
> > give a help?
> > clang invoked with follow options:
> > >clang -ccc-host-triple arm-linux-gnueabi -ccc-gcc-name
> > arm-unknown-linux-gnueabi-gcc -mfloat-abi=hard -c -v xxx.c
> > and which shows clang will invoke "as" in PATH
> Just call it arm-linux-gnueabi-as.
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev