Andreas Hagmann - 2013-04-21

… this was tested on Lion.

preliminaries:
- install libusb-1.0 (from macports)
- install gcc44 (from macports)

configure with:
LDFLAGS="-L/opt/local/lib" CPPFLAGS="-I/opt/local/include" CXX="g++-mp-4.4" ./configure

known problems:
- There seems to be a (configuration) bug (see https://trac.macports.org/ticket/22234) in gcc44. Thus some exceptions cannot be catched and abort with SIGABRT. This is no problem during regular usage of avrprog2.
- The first problem is fixed in newer gcc versions. However, there seems to be a bug in combination with the boost filesystem library: avrprog2 craches with "malloc: *** error for object 0x1076f0880: pointer being freed was not allocated" when iterating over the configuration directory. This bug is more serious than the first one, as avrprog2 simply won't work.