Basic linking / compilation question

Dibyendu Majumdar mobile@majumdar.org.uk
Thu Jan 1 00:00:00 GMT 2015


On 8 June 2015 at 22:25, David Malcolm <dmalcolm@redhat.com> wrote:
> On Mon, 2015-06-08 at 21:58 +0100, Dibyendu Majumdar wrote:
>> Is it a requirement that the application using libgccjit needs to be
>> compiled using gcc 5.1 or does it not matter?
>
> I don't think it should matter; I think it ought to just work.  For
> example, using an older gcc for the application ought to be fine (though
> that said, the testsuite doesn't cover this possibility).
>
> [I'm assuming that the compiler you're using for the application is
> sufficiently ABI-compatible with that used to compile libgccjit (e.g.
> calling conventions) - you're not attempting to e.g. link code compiled
> with Visual C++ against code compiled with gcc or anything like that are
> you?]

I used gcc 4.8.2 to compile gcc 5.1 (building on Ubuntu so no VC++).
Would like to continue using 4.8.2 for building Ravi (simply because
that's the installed version).

Regards
Dibyendu



More information about the Jit mailing list