先修改程序,让它只编译我们需要的组件。
Begin by modifying the program to compile only the component we need.
先介绍一个只编译python样例代码的构建脚本。
Let's start with a build script that just compiles the example Python code.
在一个Windows服务器上,先安装Cygwin,然后安装gcc、flex和bison工具来编译并安装代码。
On a Windows server, begin by installing Cygwin, then install the GCC, flex, and bison tools to compile and install the code.
In a compiled language, you have an intermediate step, in which you take the source code, it runs through what's called a checker or a compiler or both, and it creates what's called object code.
而在编译语言里,你就会经过一个中间的步骤,在这种语言里输入源码后,先经过过滤器,或者编译器检查后,它会创建一个叫做目标代码的东西。
- Well -- and I'll fix this blue next time -- I'm first telling the compiler I need access to the standard io library because printf is declared there.
哦!--下次我把这个字体颜色改成蓝色的-,我先告诉编译器--我需要使用,标准输入输出库,因为printf在那个库里面申明的。
应用推荐