[LLVMdev] New backend

Ivan Llopard ivanllopard at gmail.com
Fri Jul 6 06:34:17 PDT 2012


Hi Mario,

It looks like you didn't add your target to the list of targets in 
lib/Target/LLVMBuild.txt.

Ivan

On 06/07/2012 14:53, Mario Schwalbe wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello devs,
>
> I'd like to ask for some advise about adding a backend. I followed
> the steps at http://llvm.org/docs/WritingAnLLVMBackend.html (also
> adding the backend to the configure script, so it compiles (on Linux)
> with LLVM 3.1.
>
> However, llvm-build fails with:
>
> llvm[0]: Constructing LLVMBuild project information.
> Usage: llvm-build [options]
>
> llvm-build: error: invalid target to enable: 'Foo' (not in project)
>
> and since the to be generated LibraryDependencies.inc is missing
> llvm-config doesn't build.
>
> Am I missing something?
>
> Regards,
> Mario
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJP9t/EAAoJEDv0fP6GapNteooH/A/9z/hkTzS7p3bUx6JM3j+9
> xhq6owto2w0jV0uN7rBbBnTWZ6lIEtgiYXJXdcuDPQWV43gKq1LQCm8ewIuTUpRN
> mjGTh3YrC+YhqB+7SfvfbuLfQ4TzMtdbfQCx+PogFzonRDd/zM8r1tCOrtG6WJpO
> p+de2L7TKiy4rxcbal3DOrAurhoSUAoY25VFAm5IpYmgDI1llV5XmjgJLyJ43Fq2
> T82qYxPM2o7EE48OJe4sMnE+6Ioryon9uC1N3PmfA9KVnBsUdsntmPdQOsv5lG3Q
> wRJL7AJMVS60jSuecj0nubxYHjyY44VYyuqEze/4u2sp9MB6vxxBXEar14UDGvw=
> =5FZE
> -----END PGP SIGNATURE-----
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



More information about the llvm-dev mailing list