------- Comment #2 from howarth at nitro dot med dot uc dot edu 2010-08-12 00:54 ------- Created an attachment (id=21459) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21459&action=view) proposed patch to add and use remove-outfile
The proposed patch implements remove-outfile to parse out -lm and -lpthread from LINK_SPEC in darwin.h. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45258