Pgrelief Usage Guide (Linux edition)

Source: Internet
Author: User

1 Configuration Analysis Option 1.1 compiler select-K

Specifies the compiler. (only for this time, internal not modified)

Usage:

Pgr-k GNU/GCC3 a.cc

Company

Compiler

[DIAB DATA Company]

Diabdata/dccansi, Diabdata/dcckandr, Diabdata/dccstrict, DIABDATA/DCC

[FUJITSU Products

fujitsu/fcc401, fujitsu/fcc401c, fujitsu/fcc401, fujitsu/softunef2mc16b

FUJITSU/SOFTUNEFRB, FUJITSU/SOFTUNEFR

[GNU Products]

GNU/GCC, GNU/GCC3, Gnu/gcc3_c90, GNU/GCC4, gnu/gcc4_c++03, GNU/GCC3_C90

[Microsoft Visual C + + Compiler]

MS/VC1, Ms/vc4mfc, Ms/vc4, Ms/vc42, Ms/vc42mfc, Ms/vc5, Ms/vc5mfc, MS/VC6, Ms/vc6mfc, Ms/vc6win64, MS/VC2003, MS/ VC2003MFC, ms/vc2005, MS/VC2005MFC

ms/vc2008, Ms/vc2008mfc, ms/vc2010, MS/VC2010MFC, MS/VC2010CLR

[Mentor Graphics Japan Co.Ltd. Products]

MGJ/MRIPC, Mgj/mrisun

[HITACHI Products]

Hitachi/sh, Hitachi/h8

[RENESAS Company]

RENESAS/78K0R, renesas/740, renesas/7770, renesas/h8--300, renesas/h8s, renesas/m16c

Renesas/m16c80, renesas/m32c, renesas/m32r, renesas/rx\ Renesas/superh

Sun Microsystems

SUN/SPARC3, SUN/SPARC4, SUN/SPARC4C, sun/sparc4s, SUN/SPARC5, sun/sparc5c, sun/sparc5s, Sun/sparc42, SUN/SPARC42C, SUN/ Sparc42s, sun/sparc201, sun/sparc301,

SUN/SPARC301C, sun/sparc301s

Nfc

Nfc/78k0, nfc/78k0s, Nfc/78k4, nfc/v850

1.2 Macro definition-D

Specify a macro

Usage:

PGR-D Macro a.cc

Effect:

Equivalent, at the beginning of a.cc wrote #define Macro 1

-D Mac=value

Specify a macro

Usage: (note mac=value cannot have spaces, value can make any value)

pgr-d Mac=value a.cc

-U macro

Specifies the system macro.

Usage:

Pgr-u __line__ a.cc

Parameters of the option:

__line__, __file__, __time__, __date__, __stdc__, etc.

C + + __cplusplus

C99 _stdc_hosted__, __stdc_version__

1.3 Header file path settings-I

To set a lookup path for a custom header file

Usage:

Pgr-i Path a.cc

Note: path is preferably the full path of the header file, or the correct relative path. It's a folder, don't be mistaken.

-Y

Find a way to set standard header files

Pgr-y Path a.cc

2 FAQ 2.1 Troubleshooting Analysis Errors

In general, file analysis interrupts are mainly caused by a header file not found or the source file does not conform to the C + + standard. Based on our experience, we summarize the following error situations:

Interrupt phenomenon  

interrupt reason  

resolution  

Cannot find

Header file  

Forget to add header file  

Add header file  

file contains user-written header files in #include <****.h> format  < /p>

Based on the referenced format of the header file, the header

should be added to the standard header file  

Header file is included as a relative path, such as

#include "****.h" &NBSP;

  System sets the header file path as the current path,

Need to reset the header file path  

The header file needs to be reconfigured due to the interrupt caused by the header file configuration error, click on the main menu to set the-->プロジェクト intrinsic オプションの setting-->インクルード settings

Pgrelief Usage Guide (Linux edition)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.