AVR Downloader/UploaDEr - Bugs: bug #28731, Can't build avrdude 5.10 on OSX...
You are not allowed to post comments on this tracker with your current authentication level.
bug #28731: Can't build avrdude 5.10 on OSX with USB support
Submitter: | None | ||
Submitted: | Mon 25 Jan 2010 07:22:17 AM UTC | ||
Category: | None | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | None |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | giuliano carlini |
Originator Email: | -email is unavailable- | Open/Closed: | Open |
Release: | None | Programmer hardware: | |
Device type: |
Mon 22 Aug 2011 05:51:33 AM UTC, comment #2: |
Darell Tan <geekman> |
Tue 16 Aug 2011 06:35:10 PM UTC, comment #1: @avrdude-dev:
|
Joerg Wunsch <joerg_wunsch> |
Mon 25 Jan 2010 07:22:17 AM UTC, original submission:
configure script doesn't properly link libusb check program.
|
Anonymous |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Powered by Savane 3.13-02a9.
Corresponding source code
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?