On Wed, Apr 16, 2014 at 10:00 AM, Xiaofan Chen <[email protected]> wrote:
> On Wed, Apr 16, 2014 at 3:54 PM, Paul Fertser <[email protected]> wrote:
> > Hi,
> >
> > On Wed, Apr 16, 2014 at 03:34:43PM +0800, Xiaofan Chen wrote:
> >> Just wondering what is the official stand from the OpenOCD project
> >> with regard to MinGW.org toolchain support.
> >
> > My personal opinion: screw environments that are not C99-conforming.
>
Fully agree, although not many compilers are completely C99 conforming. The
more esoteric and generally unsupported features are probably not really
relevant for OpenOCD anyway. Standard library functions and printf
modifiers are not esoteric.
> > README.Windows currently has: "plain MinGW might work with
> > --disable-werror but is not recommended as it doesn't provide enough
> > C99 compatibility". I think after we switch to the current JimTCL
> > version OpenOCD will become buildable with mingw again but some printfs
> > will work improperly or might even crash, who knows.
>
> In that case, I think it is better to state in README.Windows
> that MinGW.org toolchain is not officially supported, YMMV, etc.
>
We don't "support" (officially or not) any particular compiler, we adhere
to some (ad hoc) standard, which happens to be a subset of C99 plus some
widely available GCC extensions. Compilers that accept the same language
constructs are more likely to work. All builds are YMMV, IMHO.
"Support" might imply some kind of warranty and OpenOCD does not come with
that. I think the README is already very clear in that MinGW is not
recommended, changing the wording to "support" doesn't add anything.
/Andreas
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel