On 2009-09-16, at 8:16 PM, dennisf486 wrote:
> My C++ binding library uses the C++0x standard, so I have to pass a
> flag to gcc for it to compile. However, there doesn't seem to be
> methods in AddonBuilder.io that allow you to append arbitrary
> ("raw") compiler flags.
>
> I could edit AddonBuilder.io, or monkey patch the AddonBuilder
> object from my library's build.io script, but I don't want to have
> it break every time I install a newer version of Io. It seems like
> the ability to send custom flags to the compiler is pretty
> important; can we get that added to AddonBuilder.io? Something like
> appendCompilerFlag := method(... etc.
Sure, make a patch, ask Steve to pull from your repo. That's one way
to get it into Io. Something like this is very likely to be accepted.
> I realize if people go around passing custom compiler flags
> everywhere some addon's won't build on other compilers, but my code
> is dependent on gcc anyway (at least until other compilers implement
> all the same C++0x features as gcc).
Regards,
Jeremy Tregunna
jeremy.tregunna@...