Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.erols.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How to build 32-bit code? Date: 1 Nov 1996 23:20:37 GMT Organization: Private BSD site, Dresden Lines: 45 Message-ID: <55e0k5$n3l@uriah.heep.sax.de> References: <3274AF0C.2781E494@polly.phys.msu.su> <555d8d$4iv@anorak.coverform.lan> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E brian@anorak.coverform.lan (Brian Somers) wrote: > 32bit code is the only thing you can build under FreeBSD. That's not true. :-)) BCC(1) UNIX Reference Manual BCC(1) NAME bcc - Bruce's C compiler SYNOPSIS bcc [-03EGOPSVcegv] [-Aas_option] [-Bexecutable_prefix] [-Ccc1_option] [-Ddefine] [-Iinclude_dir] [-Lld_option] [-Qc386_option] [-Ttmpdir] [-Uundef] [-o outfile] [-fpt error] [ld_options] [infiles] DESCRIPTION Overview Bcc is a simple C compiler suitable for generating 8086 or 80386 code. It basically understands the old K&R C input syntax, with some restric- tions on bit fields. It interacts with the programs as86(1) and ld86(1). As a compile-time option, it is also possible to convince bcc to generate code for the Motorola 6809 CPU. Options -0 (the digit 0) 8086 target (works even on 80386 host) -3 80386 target (works even on 8086 host) FWIW, i wrote the bootstrap system to display the installation instructions of the pcemu port using bcc. With some clever dd(1) magic and the correct link address, you can even compile DOS .com files with it. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)