便携式C,posix C和Windows C. [英] portable C, posix C and windows C

查看:72
本文介绍了便携式C,posix C和Windows C.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

便携式C,posix C和Windows C之间的区别是什么?

解决方案

10月7日,10: 34 * pm,asit< lipu ... @ gmail.comwrote:


便携式C,posix C和windows C ???之间有什么区别?



便携式意味着它将在许多平台上编译。

要实现这一目标,您需要某种标准。

ANSI / ISO C标准为C

程序创建了一种可移植性。


Posix是另一种标准。如果没有Posix

假设,它可以标准化一些附加的

标准。
http://en.wikipedia.org/wiki/POSIX


没有这样的作为Windows C的东西。有些C编译器在Windows上运行

。 Mingw海湾合作委员会,微软和英特尔都制作了不错的C编译器

for Windows。


HTH





user923005写道:


10月7日,10:34 ??? pm,asit< lipu ... @ gmail.comwrote:


便携式C,posix C和windows C ???之间有什么区别?



便携式意味着它将在许多平台上进行编译。

要实现这一目标,您需要某种标准。

ANSI / ISO C标准为C

程序创建了一种可移植性。


Posix是另一种标准。如果没有Posix

假设,它可以标准化一些附加的

标准。
http://en.wikipedia.org/wiki/POSIX


没有这样的作为Windows C的东西。有些C编译器在Windows上运行

。 Mingw GCC,微软和英特尔都制作了不错的C编译器

for Windows。


HTH



便携式C是否比posix C快。

我的意思是说便携式C是否直接转换为汇编

语言....避免任何中间转换? ??


10月7日,10:42 * pm,asit< lipu ... @ gmail.comwrote:


user923005写道:


10月7日晚上10点34分,asit< lipu ... @ gmail.comwrote:
< blockquote class =post_quotes>
便携式C,posix C和windows C ???之间有什么区别?


便携式意味着它将在许多平台上编译。

要实现这一目标,你需要一些标准。

ANSI / ISO C标准为C

程序创建了一种可移植性。


Posix是另一种标准。 *如果没有Posix

假设,它可以标准化一些附加的

标准。
http://en.wikipedia.org/wiki/POSIX


没有Windows C这样的东西。*在Windows上有C编译器运行

。 * Mingw GCC,微软和英特尔都为Windows制作了不错的C编译器



HTH



便携式C是否与posix C一样快。



便携性和速度没有真正的联系。


我的意思是说便携式C是否直接转换为汇编

语言....避免任何中间转换???



通常,最好的优化器会在几次传递中处理文件。


what is the difference between portable C, posix C and windows C ???

解决方案

On Oct 7, 10:34*pm, asit <lipu...@gmail.comwrote:

what is the difference between portable C, posix C and windows C ???

Portable means that it will compile on many platforms.
To accomplish this, you need some kind of a standard.
The ANSI/ISO C standard creates one kind of portability for C
programs.

Posix is another kind of standard. It allows some additional
fascilities to be standardized that will not work without the Posix
assumption.
http://en.wikipedia.org/wiki/POSIX

There is no such thing as Windows C. There are C compilers that run
on Windows. Mingw GCC, Microsoft and Intel all make nice C compilers
for Windows.

HTH




user923005 wrote:

On Oct 7, 10:34???pm, asit <lipu...@gmail.comwrote:

what is the difference between portable C, posix C and windows C ???


Portable means that it will compile on many platforms.
To accomplish this, you need some kind of a standard.
The ANSI/ISO C standard creates one kind of portability for C
programs.

Posix is another kind of standard. It allows some additional
fascilities to be standardized that will not work without the Posix
assumption.
http://en.wikipedia.org/wiki/POSIX

There is no such thing as Windows C. There are C compilers that run
on Windows. Mingw GCC, Microsoft and Intel all make nice C compilers
for Windows.

HTH

Does portable C is as faster as posix C.
I mean to say that does portable C is converted directly to assembly
language....avoiding any intermediate conversion ???


On Oct 7, 10:42*pm, asit <lipu...@gmail.comwrote:

user923005 wrote:

On Oct 7, 10:34 pm, asit <lipu...@gmail.comwrote:

what is the difference between portable C, posix C and windows C ???

Portable means that it will compile on many platforms.
To accomplish this, you need some kind of a standard.
The ANSI/ISO C standard creates one kind of portability for C
programs.

Posix is another kind of standard. *It allows some additional
fascilities to be standardized that will not work without the Posix
assumption.
http://en.wikipedia.org/wiki/POSIX

There is no such thing as Windows C. *There are C compilers that run
on Windows. *Mingw GCC, Microsoft and Intel all make nice C compilers
for Windows.

HTH


Does portable C is as faster as posix C.

Portability and speed have no real connection.

I mean to say that does portable C is converted directly to assembly
language....avoiding any intermediate conversion ???

Generally, the best optimizers process the file in several passes.


这篇关于便携式C,posix C和Windows C.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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