------- Comment #23 from howarth at nitro dot med dot uc dot edu 2009-12-09 16:47 ------- Wouldn't that be limited to a subset of darwin....
@@ -30,8 +30,8 @@ #set_board_info host_library_path "[file dirname [file dirname [file dirname [file dirname [file dirname [exec [find_gcc] --print-prog-name=cc1]]]]]]/lib" -# Do not use -lm on Cygwin -if { [istarget "*-*-cygwin*"] } { +# Do not use -lm on Cygwin or Darwin +if { [istarget "*-*-cygwin*"] || [istarget "*-*-darwin[921]*"] } { set_board_info mathlib "" } I thought at some point in past c code on darwin did require linking in -lm, no? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42333