Redian新闻
>
looking for a compact C/VC++ compiler; any recommendations?
avatar
looking for a compact C/VC++ compiler; any recommendations?# Programming - 葵花宝典
z*7
1
To meet the requirement of some commerical applications, we need some very
compact C/C++, which should be:
1). Small in size, the smaller the better, the greener the merrier (Ideally
the compiler should not require installation process to become workable).
2). Can compile to both x86 and x86-64 programs, targetting both Windows and
Linux platforms.
3).The complier will only be used to compile very short C/C++ programs (e.g.
no more than 20 lines), but the compilie time should be as short as
possible (which is a critical requirement.)
4). All its features should be enable to be set through command-line inputs
(well every compiler can do this I guess).
5). Have easy accessible configuration files.
6). Can accept Boost and popular math libraries.
7). I don't need advanced C++ features (e.g. C++/99).
8). In terms of code-optimization, if the compiler can optimize the code, it
is a plus but it is not necessary.
9). Ideally it's best if it's free for redistrubation, but liscence-fee is
also acceptable, however we prefer a once-and-for-all payment method instead
of per-item/copy method.
We get a in-house product, but are open to other options, free or not. Many
thanks in advance.
avatar
w*g
2
http://www.mingw.org/

Ideally
and
g.
inputs

【在 z***7 的大作中提到】
: To meet the requirement of some commerical applications, we need some very
: compact C/C++, which should be:
: 1). Small in size, the smaller the better, the greener the merrier (Ideally
: the compiler should not require installation process to become workable).
: 2). Can compile to both x86 and x86-64 programs, targetting both Windows and
: Linux platforms.
: 3).The complier will only be used to compile very short C/C++ programs (e.g.
: no more than 20 lines), but the compilie time should be as short as
: possible (which is a critical requirement.)
: 4). All its features should be enable to be set through command-line inputs

avatar
a*g
3
不如考虑 Lua

Ideally
and
g.
inputs

【在 z***7 的大作中提到】
: To meet the requirement of some commerical applications, we need some very
: compact C/C++, which should be:
: 1). Small in size, the smaller the better, the greener the merrier (Ideally
: the compiler should not require installation process to become workable).
: 2). Can compile to both x86 and x86-64 programs, targetting both Windows and
: Linux platforms.
: 3).The complier will only be used to compile very short C/C++ programs (e.g.
: no more than 20 lines), but the compilie time should be as short as
: possible (which is a critical requirement.)
: 4). All its features should be enable to be set through command-line inputs

avatar
c*1
4
targetting both Windows and Linux platforms.
why the smaller the better?
To be used as a teaching tool?

Ideally
and
g.
inputs

【在 z***7 的大作中提到】
: To meet the requirement of some commerical applications, we need some very
: compact C/C++, which should be:
: 1). Small in size, the smaller the better, the greener the merrier (Ideally
: the compiler should not require installation process to become workable).
: 2). Can compile to both x86 and x86-64 programs, targetting both Windows and
: Linux platforms.
: 3).The complier will only be used to compile very short C/C++ programs (e.g.
: no more than 20 lines), but the compilie time should be as short as
: possible (which is a critical requirement.)
: 4). All its features should be enable to be set through command-line inputs

avatar
b*r
5
Turbo c?
A quick fix jumps over a lazy dog
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。