dev-lang/pcc - 1.1.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-lang/pcc-1.1.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-lang/pcc-1.1.0

Or alternatively:

emerge --autounmask-write -a =dev-lang/pcc-1.1.0

Package Information

Description:
pcc portable c compiler
Homepage:
http://pcc.ludd.ltu.se
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
1.1.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools flag-o-matic

DESCRIPTION="pcc portable c compiler"
HOMEPAGE="http://pcc.ludd.ltu.se"

SRC_URI="ftp://pcc.ludd.ltu.se/pub/pcc-releases/${P}.tgz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND=">=dev-libs/pcc-libs-${PV}
	dev-libs/libbsd"
RDEPEND="${DEPEND}"

PATCHES=(
	"${FILESDIR}/${P}-multiarch.patch"
	"${FILESDIR}/${P}-C23.patch"
)

src_prepare() {
	default

	eautoreconf
}

src_configure() {
	append-cflags -fcommon
	econf --disable-stripping
}

src_test() {
	cc/cc/pcc --version || die # basic test that compiler runs
}

Inherited Eclasses

Dependencies

DEPEND

>=dev-libs/pcc-libs-1.1.0
	dev-libs/libbsd

RDEPEND

>=dev-libs/pcc-libs-1.1.0
	dev-libs/libbsd

Manifest for 1.1.0

Type File Size Source URLs
DIST pcc-1.1.0.tgz 848427 bytes ftp://pcc.ludd.ltu.se/pub/pcc-releases/pcc-1.1.0.tgz