[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Basic linking / compilation question



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?]

Dave