In this lesson we try something new and compile with optimizations off.
在这一课中我们试试一些新东西,把编译器优化选项关了。
Carefully select the default resources to compile with the main assembly.
请小心选取要和主要组件一起编译的预设资源。
We use this and the overhead per compile with this approach is much less.
我们使用这个和每个这种方法编译开销要少得多。
Always compile with -wall and especially pay attention to missing prototype messages.
记得总要使用- Wall标记来编译程序,并要特别注意缺少原型消息。
Therefore, it is not recommended to compile with architecture-specific flags, such as -mpower.
所以,编译时不建议使用针对特定体系结构的标记,比如-mpower。
Don't forget to compile with the -source 1.5 option or the compiler won't recognize the variable argument list.
不要忘记用- source 1.5选项编译,否则编译器不会识别变量参数列表。
How you provide this information depends upon whether you compile with the JIT (Just-in-Time) compiler or the AOT (Ahead-of-Time) compiler.
你如何提供这些信息取决于你使用的是JiT(即时)编译器还是AoT(预先)编译器。
Note that you can specify options and flags on the command line this way. For instance, if you want to compile with debugging symbols, try this.
要注意的是,这样您可以在命令行中指定选项和标记。
Enter it into your favorite text editor with the same line spacings, save as' eg1.c ', compile with 'GCC -g eg1.c -o eg1' and start GDB with 'GDB eg1'.
在您喜欢的文本编辑器中输入这个程序(要保持相同的行距),保存为'eg1 . c ',使用'gcc- geg1 . c -o eg1 '进行编译,并用'gdb eg1 '启动gdb。
Code that was compiled without any optimization flags resulted in code that was approximately five times slower, so be sure to always compile with -o2 or -o3.
没有使用任何优化标记所编译出来的代码的速度大约会慢5倍,因此要确保使用-O2或- O3标记来编译程序。
If you compile with debug options, tables of names may still be attached to the final program, though, so you can use those names when debugging your program.
如果使用调试选项编译,名称表仍然可能附加到最终程序,因此您可以在调试程序时使用这些名称。
A bit of care and some attention paid to naming conventions, command-line arguments, and directory structures should enable you to compile and run programs with a minimum of fuss.
些许的谨慎加上对本文所介绍的命名约定、命令行参数和目录结构的注意,应该能够使您在问题最少的情况下编译和运行程序了。
With this implementation, you get neat compile time error messages.
如果使用此实现,您会得到相应的编译时错误消息。
The very large memory model, like the large memory model, can be enabled for an executable at compile time with a linker option or at run time using the LDR_CNTRL environment variable.
与大内存模型类似,可以通过一个链接器选项或在运行时使用LDR_CNTRL环境变量来为编译时的可执行程序启用超大内存模型。
If you compile the program containing unwanted elements with the THREAD compiler option, they are flagged as errors.
如果使用THREAD编译器选项编译包含不恰当元素的程序,则会将这些元素标记为错误。
So before you try to work with your classes, be sure to compile them.
因此在使用这些类之前一定要编译它们。
Mercifully, I do not recount the hundreds of occasions I ended up with code that wouldn't even compile.
所幸,我不必详细描述数百种甚至以代码无法编译而告终场景。
Does it interfere with compile-time optimizations?
它是否会干扰编译时优化呢?
You can then treat each named value as an instance of that class, providing you with compile-time type safety that a named set of integers can't.
然后,可以将每个指定的值看作是那个类的一个实例,这为您提供了指定的整数集合所无法提供的编译时类型安全。
You must fill this class in with the appropriate logic, compile it, and package it into the appropriate EJB JAR file.
您必须用适当的逻辑来填充该类,编译这个类,并将其封装到适当的EJBJAR文件中。
Since the queries are dynamic, with unknown selection criteria at compile time, plan generation can be incorrect, even with the availability of full distribution statistics on the data.
由于查询是动态的,在编译时并不知道其选择标准,因此,即使有了关于数据的完整的分布统计,仍然可能生成错误的计划。
Next, compile and link with the commands.
其次,用以下命令编译和链接。
If you compile these files with scala, you can run the client as follows.
如果你用scala编译这些文件,你就能像这样运行客户端。
To get started with cfengine, you should compile and install it.
在开始使用cfengine 之前,应该编译和安装它。
You can compile this servlet, register it with Voxeo, and access it by phone, just as you did with Listing 1.
现在您可编译这个servlet、向Voxeo注册它,并通过电话访问它,与处理清单1的方法相同。
Be sure to compile a Linux application with appropriate GCC flags.
一定要用适当的gcc标志编译Linux应用程序。
Next compile the afsfuse.xg file with rxgen to create client and stub files.
接下来使用rxgen编译afsfuse. xg文件,从而创建客户机和存根文件。
The extension.inc can be whatever you choose, just don't pick anything ending with jet or jet will try to compile your include file with understandably poor results.
扩展名. inc可以任意,只是不要采用以jet或jet结尾的名字,否则将试图编译包含文件,这样该文件的理解性自然很差。
With the interactive shell you have the ability to type expressions, compile code, and communicate with processes.
可以通过交互式shell输入表达式、编译代码以及与进程进行通信。
If you want to skip ahead, download the completed text.c file included in the source code repository and compile it with the make command.
如果需要跳到前面,请下载源代码存储库中包含的完整text . c文件并用make命令编译该文件。
应用推荐