Follow-up Comment #2, bug #28731 (project avrdude):

I've just tried it on my Mac. It compiles fine, but strangely I can remove the
CoreFoundation and IOKit framework flags and just leave the -lusb flag and it
STILL compiles properly.

My guess is that the gcc I'm using (version 4.0.1 Apple Inc. build 5493)
automatically links those frameworks.

If other versions of gcc are to be supported, my suggestion would be to move
the $target checks for darwin (line 4646) up to line 4581 where the LIBS are
defined, to add the -framework flags for CoreFoundation and IOKit.

What version of gcc are you using?

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?28731>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to