Tadashi G. Takaoka writes:
> Hi, Daniel! (again :)
> 
> It would be great if you will merge the attached patches which are useful
> when compiling mspdebug on Mac OS X.
> 
> I'm using MacPorts <http://www.macports.org/> to install libelf and
> libusb-legacy in order to compile mspdebug on Mac OS X. I also modify the
> make command as:
> 
> $ CFLAGS+=" -I/opt/local/include"              # compatibility for libelf
> $ CFLAGS+=" $(libusb-legacy-config --cflags)"  # compatibility for libusb
> $ LDFLAGS+=" $(libusb-legacy-config --libs)"   # compatibility for libusb
> $ CFLAGS+=" -DB460800=460800"
> $ make CFLAGS+="$CFLAGS" LDFLAGS+="$LDFLAGS"
> 
> It would be happy for me if you will consider these optional flags.

Thanks for these (and your other patch). Both are now applied.

I'll see what we can do about adding proper support for OS X to this.
By the way, could we not also add:

#ifdef __APPLE__
#define B460800 460800
#endif

To util.h?

- Daniel

Reply via email to