[LLVMdev] Generatin code for an ARM-LINUX machine

Juan Carlos Martinez Santos juanc.martinez.santos at gmail.com
Wed Jul 1 13:31:54 PDT 2009


Hello Eli,

> It's probably not finding the right assembler (i.e. using the x86-64
> as instead of the arm as).

I found that using LLVM-GCC does not work directly; however, if I split the
tasks (file.C --> LLVM-GCC --> file.BC --> LLC --> file.S -->
ARM-NONE-LINUX-GNUEABI-GCC --> file.ARM) at the end I get my ARM-executable
file (work so good in this way)

However, now I am looking the source code to include my modifications
(passes and my own driver), but I don't know where there are. My question
now is how I can include my own modification?

Thanks in advance.

Juan Carlos




On Wed, Jul 1, 2009 at 3:36 PM, Eli Friedman <eli.friedman at gmail.com> wrote:

> On Wed, Jul 1, 2009 at 12:01 PM, Juan Carlos Martinez
> Santos<juanc.martinez.santos at gmail.com> wrote:
> >  as -meabi=4 -o /tmp/ccYxnIEs.o /tmp/ccy6iYri.s
> > as: unrecognized option '-meabi=4'
> [snip]
> > Any idea what could be wrong?
>
> It's probably not finding the right assembler (i.e. using the x86-64
> as instead of the arm as).
>
> -Eli
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



-- 
Juan Carlos Martínez Santos
242 Foster Drive Apt H
Colonial Townhouse Apartments
Willimantic, CT 06226-1538
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090701/e4a0799a/attachment.html>


More information about the llvm-dev mailing list