On Sun, Mar 30, 2014 at 3:07 PM, Paul Fertser <[email protected]> wrote:
> Hi Xiaofan,
>
> Thank you for testing! It looks like clang on OS X is getting more and
> more aggressive, I know this very code was tested before on 10.9
> without issues.
>
> Can you please consider cross-compiling this rc for windows and
> publishing the binaries somewhere?

Freddie will do a better job than I. :-)

I tend not to use cross-compiling myself. I prefer to build the
Windows binary under Windows using MinGW/MSys and
MinGW-w64/Msys.

> On Sun, Mar 30, 2014 at 03:00:52PM +0800, Xiaofan Chen wrote:
>> > 1. Build issues;
>> * Andes AICE debug adapter support
>>
>> This rc failed to build under Mac OS X 10.9.2 (using default ./configure 
>> without
>> any extra options). The only problematic file seems to be aice_usb.c.
> ...
>> aice_usb.c:46:22: error: unused variable 'AICE_FORMAT_HTDB'
>>       [-Werror,-Wunused-const-variable]
>> static const int32_t AICE_FORMAT_HTDB   = 6;
>
> What clang version is that btw? Thank you for the report again, this
> certainly needs fixing before the release.

mymacmini:openocd-0.8.0-rc1 xiaofanc$ gcc -v
Configured with:
--prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix

mymacmini:openocd-0.8.0-rc1 xiaofanc$ clang -v
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix

> Do I understand it right that --disable-werror is enough to get it
> compiled and working?

Yes.


-- 
Xiaofan

------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to