From ad7c69fa443294dcb2768ea726726292d4b691b0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Mon, 5 Nov 2001 09:17:56 +0000 Subject: [PATCH] - started resurecting bcc (part of dev86) Changed files: bcc.spec -> 1.1 --- bcc.spec | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 bcc.spec diff --git a/bcc.spec b/bcc.spec new file mode 100644 index 0000000..d707dcb --- /dev/null +++ b/bcc.spec @@ -0,0 +1,83 @@ +Summary: Bruce's C compiler +Summary(pl): Kompiler C Bruce'a +Name: bcc +Version: 0.16.0 +Release: 2 +License: GPL +Group: Development/Languages +Group(de): Entwicklung/Sprachen +Group(pl): Programowanie/Jêzyki +Source0: http://www.cix.co.uk/~mayday/Dev86src-%{version}.tar.gz +Patch0: Dev86src-noroot.patch +Patch1: Dev86src-nobcc.patch +Patch2: Dev86src-bccpaths.patch +Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +ExclusiveArch: %{ix86} + +%description +Bcc is a simple C compiler that produces 8086 assembler, in addition +compiler compile time options allow 80386 or 6809 versions. The +compiler understands traditional K&R C with just the restriction that +bit fields are mapped to one of the other integer types. + +%description -l pl +Bcc jest prostym kompilatorem C produkuj±cym pliki asemblerowe 8086, +a dodatkowo pozwala na wybranie wersji 80386 lub 6809. Kompilator +rozumie tradycyjne K&R C z takim ograniczeniem, ¿e pola bitowe +s± odwzorowywane do jednego z innych typów ca³kowitych. + +%prep +%setup -q -n dev86-%{version} +%patch0 -b .oot -p1 +%patch1 -b .djb -p1 +%patch2 -b .bccpaths -p1 + +%build +CC="%{__cc}" %{__make} <