Hello, It seems like building with the clang-darwin toolset silently ignores .m and .mm files What is the status of Objective C support in this toolset? Is this a configuration problem on my part or is it just not supported? -- Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode
On Sep 10, 2014, at 5:01 PM, Emil Dotchevski
It seems like building with the clang-darwin toolset silently ignores .m and .mm files What is the status of Objective C support in this toolset? Is this a configuration problem on my part or is it just not supported?
Apple funded clang and it's used exclusively in Xcode. I can't imagine clang not supporting Objective C on Darwin. Josh
On Wed, Sep 10, 2014 at 5:21 PM, Josh Juran
On Sep 10, 2014, at 5:01 PM, Emil Dotchevski
wrote: It seems like building with the clang-darwin toolset silently ignores .m and .mm files What is the status of Objective C support in this toolset? Is this a configuration problem on my part or is it just not supported?
Apple funded clang and it's used exclusively in Xcode. I can't imagine clang not supporting Objective C on Darwin.
I wasn't asking if clang supports Objective C, I was asking if the clang-darwin toolset in Boost Build has the necessary plumbing to push .m and .mm files through clang. -- Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode
Yes it does. As can be seen from the Predef tests that compile ObjectiveC
and ObjectiveC++ files <
http://www.boost.org/development/tests/develop/developer/predef.html>.
On Wed, Sep 10, 2014 at 7:43 PM, Emil Dotchevski
On Wed, Sep 10, 2014 at 5:21 PM, Josh Juran
wrote: On Sep 10, 2014, at 5:01 PM, Emil Dotchevski
wrote: It seems like building with the clang-darwin toolset silently ignores .m and .mm files What is the status of Objective C support in this toolset? Is this a configuration problem on my part or is it just not supported?
Apple funded clang and it's used exclusively in Xcode. I can't imagine clang not supporting Objective C on Darwin.
I wasn't asking if clang supports Objective C, I was asking if the clang-darwin toolset in Boost Build has the necessary plumbing to push .m and .mm files through clang.
-- Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
-- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
Oh, sorry.. I guess I didn't read carefully enough. The GCC toolset has
OBJC support. Not sure about the Clang toolset.
On Wed, Sep 10, 2014 at 8:16 PM, Rene Rivera
Yes it does. As can be seen from the Predef tests that compile ObjectiveC and ObjectiveC++ files < http://www.boost.org/development/tests/develop/developer/predef.html>.
On Wed, Sep 10, 2014 at 7:43 PM, Emil Dotchevski
wrote:
On Wed, Sep 10, 2014 at 5:21 PM, Josh Juran
wrote: On Sep 10, 2014, at 5:01 PM, Emil Dotchevski
wrote: It seems like building with the clang-darwin toolset silently ignores .m and .mm files What is the status of Objective C support in this toolset? Is this a configuration problem on my part or is it just not supported?
Apple funded clang and it's used exclusively in Xcode. I can't imagine clang not supporting Objective C on Darwin.
I wasn't asking if clang supports Objective C, I was asking if the clang-darwin toolset in Boost Build has the necessary plumbing to push .m and .mm files through clang.
-- Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
-- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
-- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
On Wed, Sep 10, 2014 at 6:20 PM, Rene Rivera
Oh, sorry.. I guess I didn't read carefully enough. The GCC toolset has OBJC support. Not sure about the Clang toolset.
Right, my question is specifically about the clang-darwin toolset, that is, clang on MACOSX. What would be the behavior if it is not supported but a library target uses .m or .mm sources? What I'm seeing is that Boost Build doesn't issue any errors but doesn't build the .m and .mm sources. -- Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode
On Wed, Sep 10, 2014 at 8:48 PM, Emil Dotchevski
On Wed, Sep 10, 2014 at 6:20 PM, Rene Rivera
wrote: Oh, sorry.. I guess I didn't read carefully enough. The GCC toolset has OBJC support. Not sure about the Clang toolset.
Right, my question is specifically about the clang-darwin toolset, that is, clang on MACOSX. What would be the behavior if it is not supported but a library target uses .m or .mm sources? What I'm seeing is that Boost Build doesn't issue any errors but doesn't build the .m and .mm sources.
IIRC, from my testing it issues a warning about being unable to build a target and then continues on building everything else. But let me check... === $ cd predef/test $ b2 -a --verbose-test warn: Unable to construct ./info_as_objcpp warn: Unable to construct ./info_as_objc ...patience... ...found 184 targets... ...updating 20 targets... clang-darwin.compile.c++ bin/info_as_cpp.test/clang-darwin-4.2.1/debug/info_as_cpp.o [[cut]] **passed** bin/macos_vs_bsd.test/clang-darwin-4.2.1/debug/macos_vs_bsd.test ...updated 20 targets... $ === -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
participants (3)
-
Emil Dotchevski
-
Josh Juran
-
Rene Rivera