嵌入式C项目有一个很好的XML解析器吗? [英] Is there a good tiny XML parser for an embedded C project?

查看:343
本文介绍了嵌入式C项目有一个很好的XML解析器吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个非常小的XML解析器为嵌入式项目。它需要编译成10-15k,不需要验证,需要简单便携。

解决方案

我能够调整C的以下XML解析器库的编译标志,并在我的Ubuntu机器上裁减超过50%的大小。 Mini-XML是唯一接近您所要求的内容:





这里有一个很好的讨论:



嵌入式系统的C XML库


I'm after a very tiny XML parser for an embedded project. It needs to compile down to 10-15k, doesn't need to validate, and needs to be simple and portable.

解决方案

I was able to tweak the compilation flags of the following XML parser libraries for C, and cut down more than 50% of their size on my Ubuntu machine. Mini-XML is the only one close to what you requested:

There's a good discussion here:

C XML library for Embedded Systems

这篇关于嵌入式C项目有一个很好的XML解析器吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆