Clang frontend with gcc backends

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Clang frontend with gcc backends

Kristóf Umann via cfe-dev
Greetings All,

I would be interested in if its possible to use the clang frontend with
gcc backends. I'm

assuming ot but it would be interesting if it is.


Thanks,


Nick

_______________________________________________
cfe-dev mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Clang frontend with gcc backends

Kristóf Umann via cfe-dev
You could convert LLVM-IR into C using a "C Backend" [1] and use it as
input for gcc.

[1] https://github.com/JuliaComputing/llvm-cbe

Michael

Am Di., 20. Aug. 2019 um 23:29 Uhr schrieb Nicholas Krause via cfe-dev
<[hidden email]>:

>
> Greetings All,
>
> I would be interested in if its possible to use the clang frontend with
> gcc backends. I'm
>
> assuming ot but it would be interesting if it is.
>
>
> Thanks,
>
>
> Nick
>
> _______________________________________________
> cfe-dev mailing list
> [hidden email]
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
_______________________________________________
cfe-dev mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev