Is the flag_objc_abi variable available on non-Darwin platforms in llvm-gcc? I want to use it in llvm-backend.cpp to conditionalize a test. But I don't want to break Linux, Ada, Fortran, etc. -bw
On May 8, 2009, at 1:09 PM, Bill Wendling wrote:> Is the flag_objc_abi variable available on non-Darwin platforms in > llvm-gcc? I want to use it in llvm-backend.cpp to conditionalize a > test. But I don't want to break Linux, Ada, Fortran, etc.If not, you can define it in objc-stubs.c -Chris
On Fri, May 8, 2009 at 1:16 PM, Chris Lattner <clattner at apple.com> wrote:> On May 8, 2009, at 1:09 PM, Bill Wendling wrote: >> Is the flag_objc_abi variable available on non-Darwin platforms in >> llvm-gcc? I want to use it in llvm-backend.cpp to conditionalize a >> test. But I don't want to break Linux, Ada, Fortran, etc. > > If not, you can define it in objc-stubs.c >I think I just answered my own question. It's already used in llvm-debug.cpp. So it should be safe... -bw
Hi Bill,> Is the flag_objc_abi variable available on non-Darwin platforms in > llvm-gcc? I want to use it in llvm-backend.cpp to conditionalize a > test. But I don't want to break Linux, Ada, Fortran, etc.since Fortran is now a release language, please always build with Fortran enabled (add fortran to --enable-languages) when testing. That should catch problems of this kind. Ciao, Duncan.