26.11.2012 Views

Compiler Usage Guidelines for 64-Bit Operating Systems on AMD64 ...

Compiler Usage Guidelines for 64-Bit Operating Systems on AMD64 ...

Compiler Usage Guidelines for 64-Bit Operating Systems on AMD64 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

32035 Rev. 3.22 November 2007<br />

<str<strong>on</strong>g>Compiler</str<strong>on</strong>g> <str<strong>on</strong>g>Usage</str<strong>on</strong>g> <str<strong>on</strong>g>Guidelines</str<strong>on</strong>g> <str<strong>on</strong>g>for</str<strong>on</strong>g> AMD<str<strong>on</strong>g>64</str<strong>on</strong>g> Plat<str<strong>on</strong>g>for</str<strong>on</strong>g>ms<br />

3.7.1 Invocati<strong>on</strong> Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29<br />

3.7.2 Generic Per<str<strong>on</strong>g>for</str<strong>on</strong>g>mance Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29<br />

3.7.3 Other Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29<br />

3.8 GCC <str<strong>on</strong>g>Compiler</str<strong>on</strong>g>s (32-<str<strong>on</strong>g>Bit</str<strong>on</strong>g>) <str<strong>on</strong>g>for</str<strong>on</strong>g> Linux® . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30<br />

3.8.1 Recommended <str<strong>on</strong>g>Compiler</str<strong>on</strong>g> Versi<strong>on</strong>s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30<br />

3.8.2 Invocati<strong>on</strong> Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31<br />

3.8.3 Generic Per<str<strong>on</strong>g>for</str<strong>on</strong>g>mance Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31<br />

3.8.4 Other Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32<br />

3.9 Intel <str<strong>on</strong>g>Compiler</str<strong>on</strong>g>s (32-<str<strong>on</strong>g>Bit</str<strong>on</strong>g>) <str<strong>on</strong>g>for</str<strong>on</strong>g> Linux® . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34<br />

3.9.1 Invocati<strong>on</strong> Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34<br />

3.9.2 Generic Per<str<strong>on</strong>g>for</str<strong>on</strong>g>mance Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34<br />

3.9.3 Other Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34<br />

3.10 PathScale <str<strong>on</strong>g>Compiler</str<strong>on</strong>g>s (32-<str<strong>on</strong>g>Bit</str<strong>on</strong>g>) <str<strong>on</strong>g>for</str<strong>on</strong>g> Linux® . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35<br />

3.10.1 Invocati<strong>on</strong> Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35<br />

3.10.2 Generic Per<str<strong>on</strong>g>for</str<strong>on</strong>g>mance Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35<br />

3.10.3 Other Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35<br />

3.11 Intel <str<strong>on</strong>g>Compiler</str<strong>on</strong>g>s (32-<str<strong>on</strong>g>Bit</str<strong>on</strong>g>) <str<strong>on</strong>g>for</str<strong>on</strong>g> Microsoft® Windows® . . . . . . . . . . . . . . . . . . . . . . . . .36<br />

3.11.1 Invocati<strong>on</strong> Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36<br />

3.11.2 Generic Per<str<strong>on</strong>g>for</str<strong>on</strong>g>mance Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36<br />

3.11.3 Other Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36<br />

3.12 Microsoft® <str<strong>on</strong>g>Compiler</str<strong>on</strong>g>s (32-<str<strong>on</strong>g>Bit</str<strong>on</strong>g>) <str<strong>on</strong>g>for</str<strong>on</strong>g> Microsoft® Windows® . . . . . . . . . . . . . . . . . . .37<br />

3.12.1 Invocati<strong>on</strong> Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37<br />

3.12.2 Generic Per<str<strong>on</strong>g>for</str<strong>on</strong>g>mance Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37<br />

3.12.3 Other Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37<br />

3.13 Sun Studio <str<strong>on</strong>g>Compiler</str<strong>on</strong>g>s (32-bit) <str<strong>on</strong>g>for</str<strong>on</strong>g> Solaris . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38<br />

3.13.1 Invocati<strong>on</strong> Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38<br />

3.13.2 Generic Per<str<strong>on</strong>g>for</str<strong>on</strong>g>mance Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38<br />

3.13.3 Other Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39<br />

Chapter 4 Troubleshooting and Portability Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41<br />

4.1 PGI <str<strong>on</strong>g>Compiler</str<strong>on</strong>g>s <str<strong>on</strong>g>for</str<strong>on</strong>g> Linux® and Microsoft® Windows® . . . . . . . . . . . . . . . . . . . . . .41<br />

C<strong>on</strong>tents 5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!