What's the difference between "build-v234ce-gnu-linux-d" and "build-v234ce-gnu-linux-o"

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

What's the difference between "build-v234ce-gnu-linux-d" and "build-v234ce-gnu-linux-o"

1,274 次查看
bruce_021
Contributor II

Hello,

What's the difference between "build-v234ce-gnu-linux-d" and "build-v234ce-gnu-linux-o"?

When should I use "build-v234ce-gnu-linux-d" to build APP and when should I use "build-v234ce-gnu-linux-o"?

Thanks.

标签 (2)
2 回复数

1,083 次查看
mikedoidge
NXP Employee
NXP Employee

Hello,

The -o suffix denotes a project which was built with the compiler setting for optimized build. This means there will be no debug capability enabled in this build. It also means the memory size on the target required by the application will be smaller, depending upon which optimization level was selected.

The -d suffix denotes a project which was build with the compiler setting for debug. This means this project can be used with a debugger, but will require more memory space on the target.

As it is always important to be aware of size when developing applications for embedded systems, it is possible to develop an application which would fit onto a given MCU when optimized, but could not fit when built for debug.

Hope it helps,

Mike

1,083 次查看
bruce_021
Contributor II

Thanks very much.

0 项奖励