BSD Ports

devel/bcc 95.3.12nb3 NetBSD

Bruce Evans' C compiler (with as and ld); can do 16-bit code

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v2
Categories
devel, lang
Package size
103.2 KiB, 263.9 KiB installed

Description

This is Bruce Evans' C compiler and binutils package.

It is able to generate 16-bit code. Hence it's possible to compile BIOS and DOS code under unix.

The C compiler understands K&R1 syntax, with a few restrictions regarding bitfields. See the file bcc/bcc-cc1/bcc.bugs in the distfile for Bruce's bug list.

The binutils (assembler and loader) have been renamed to as86 and ld86 to not conflict with the system's assembler and loader, but they are also available in the regular BINDIR (normally /usr/local/bin).

It's also possible to generate MC 6809 code with bcc/as. (This is a compile-time option however, and not supported by this package.

In the other systems

SystemPortVersion
NetBSDdevel/bcc95.3.12nb3
FreeBSDdevel/bcc1995.03.12_3
MidnightBSDlang/bcc1995.03.12_1
GhostBSDdevel/bcc1995.03.12_3

Install

Binary package:

pkgin install bcc

From pkgsrc:

cd /usr/pkgsrc/devel/bcc && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_6495.3.12nb3
NetBSD 10.1 aarch64-
SmartOS / illumos x86_64-
macOS 15 arm64-

Dependencies

No port depends on this one.