| | 262 | |
| | 263 | |
| | 264 | === greenfield optimized build === |
| | 265 | |
| | 266 | Once the default debug build is working proceed to optimized build on nodes |
| | 267 | slated for optimized building. |
| | 268 | |
| | 269 | Create an '''opt''' folder within the default '''dbg''' directory: |
| | 270 | {{{ |
| | 271 | [blyth@belle7 dyb]$ mkdir opt |
| | 272 | [blyth@belle7 dyb]$ cd opt |
| | 273 | [blyth@belle7 opt]$ cp ../dybinst . |
| | 274 | }}} |
| | 275 | |
| | 276 | Force an optimized build by using the '''-O''' option: |
| | 277 | {{{ |
| | 278 | [blyth@belle7 opt]$ screen ./dybinst -O trunk all |
| | 279 | }}} |
| | 280 | |
| | 281 | Make the installation opt-by-default as described [#OptimizedBuilds below]. |
| | 282 | |
| | 283 | |
| | 284 | |
| | 285 | |