Port details on branch 2022Q2 |
- cparser C99 compiler using libFIRM as backend
- 0.9.14_1 lang =0 0.9.14Version of this port present on the latest quarterly branch.
- There is no maintainer for this port.
- Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org
- Port Added: 2008-11-24 09:34:38
- Last Update: 2024-01-09 15:41:04
- Commit Hash: e10e202
- Also Listed In: devel
- License: GPLv2+
- WWW:
- https://sourceforge.net/projects/cparser/
- Description:
- cparser is a recursive descent C99 parser written in C99. It contains lexer,
parser, constructs an AST and does semantic analysis. It is currently used as
a frontend to the libFirm intermediate representation, but can be used
independently. cparser is able to bootstrap itself. It currently uses an
external preprocessor.
* fast recursive descent parser, parses C90 and C99
* handles most GCC extensions, e.g. __attribute__, inline assembler,
computed goto, statement expressions
* handles some MSVC extensions (like declspec)
* provides many useful warnings
* format string checker for char and wchar_t
* unreachable code analysis
* missing return statement check, which pinpoints exact location(s)
* write-only/-self variables detection
* missing and redundant forward declarations
* most warnings switches, which are available for GCC
* provides concise messages in case of error, for example when encountering
misspelled typenames
* compiler driver compatible with GCC (-fxxx, -Wxxx, -M, ...)
* uses libFIRM for optimization and code generation (devel/libfirm)
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/lang/cparser/ && make install clean
- To add the package, run one of these commands:
- pkg install lang/cparser
- pkg install cparser
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: cparser
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (cparser-0.9.14.tar.bz2) = 017a83d72c14e723573520bc92d78c988485e4086a15ce42e532561951510792
SIZE (cparser-0.9.14.tar.bz2) = 193745
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.3 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- Library dependencies:
-
- libfirm.so : devel/libfirm
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for cparser-0.9.14_1:
DEBUG=off: Build with debugging support
===> Use 'make config' to modify these settings
- Options name:
- lang_cparser
- USES:
- gmake pkgconfig tar:bzip2
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|