什么是本机构建环境? [英] What is a native build environment?

查看:69
本文介绍了什么是本机构建环境?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是从网络上读取信息,目前是关于页面的cmake ,而我需要这些信息来填补空白,这有助于了解全局。

I am simply reading information off the interwebs, currently the cmake about page, and I need the information to fill in the gaps, it helps to see the big picture.

我希望答案肯定很简单。什么是本机构建环境?

Surely the answer is straightforward, I hope. What is a native build environment?

上下文:我需要知道如何在我的计算机上构建软件(CodeBlocks等),为什么我要这样做?需要这样做,这样做的好处等等。但是首先,我需要了解遇到的每一个专业术语,尽管我可以推测出本地构建环境的确切含义,但我找不到任何解释。

Context: I need to know how to build software on my machine (CodeBlocks, etc), why I need to do this, the advantages of doing this, etc. But first, I need to know every piece of jargon I come across, and I could not find any explanations about exactly what a "Native build environment" is, although I can speculate to some degree.

推荐答案

本机 ,如直接在主机操作系统中运行,而不是在虚拟机或仿真器中运行。

"Native" as in "runs directly in the host operating system" and not "runs in a virtual machine or emulator."

CMake的about页面试图传达的特定点是CMake实现跨平台功能的方式:不是是通过虚拟化,而是通过直接与主机系统合作/协作而实现的;以及

The particular point that CMake's about page is trying to convey is the manner in which CMake achieves cross-platform functionality: specifically not by virtualizing, but by cooperating/collaborating directly with the host system, and the "normal" ways the host system is used to doing things.


是这样的构建环境,那么仅仅是存放编译器构建软件所需的所有垃圾的目录呢?

Is the build environment then just the directory holding all the garbage needed for a compiler to build the software then?

这太过简单了–没有任何东西可以说这是一个目录-但或多或少是的。该术语不是行话,它的字面意思是构建所需的世界状态(又称环境)。

That's an oversimplification – there's nothing to say that it's a single directory – but more or less, yes. The term is not jargon, it literally means "the state of the world" (aka, environment) needed for the build.


你叫另一种东西,非本地的?

What would you call the other thing then, Non-native?

确定,虚拟化或仿真,或添加了任何其他中间层。

Sure, or virtualized, or emulated, or whatever other intermediate layer has been added.


为什么我们也需要区分?

Why do we need the distinction as well?

为什么不呢?有一个简洁,清晰,简单的用语非常有用,这样我们就可以准确地进行沟通,并且将混乱和歧义降到最低。

Why not? It's useful to have a concise, clear, simple term so we can communicate precisely and with minimal confusion and ambiguity.

这篇关于什么是本机构建环境?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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