BSD Ports

lang/cparser 0.9.14 NetBSD

Recursive descent C99 parser

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
e282cfb26b
License
gnu-gpl-v2
Categories
lang
Package size
177.3 KiB, 514.6 KiB installed

Description

Cparser is a recursive descent C99 parser written in C99. It contains a lexer, a parser, and the appropriate constructs; it does AST and semantic analysis. It is currently used as a frontend to the libFirm intermediate representation. However, it can be used independently, and also is able to bootstrap itself. Currently, cparser uses an external preprocessor.

In the other systems

SystemPortVersion
NetBSDlang/cparser0.9.14
FreeBSDlang/cparser0.9.14_1
OpenBSDlang/cparser1.22.1pl3p0
DragonFlylang/cparser0.9.14_1

Install

Binary package:

pkgin install cparser

From pkgsrc:

cd /usr/pkgsrc/lang/cparser && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
e282cfb26b wiz *: add LDFLAGS overide that was previously in mk
This is a workaround and should be fixed properly per-package - they should use the pkgsrc LDFLAGS, but this restores what happened before the mk/ cleanup. Fixes relro build for packages that do not honor LDFLAGS. Package list provided by mef@, thanks! Workaround commit requested by bsiegert on tech-pkg.