From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Nasrat Subject: Re: compiler for ELKS programs Date: Mon, 20 Jan 2003 08:51:23 +0000 Sender: linux-8086-owner@vger.kernel.org Message-ID: <20030120085123.GW30557@raq465.uk2net.com> References: <3E2B6B51.2030403@innerpeace.org> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <3E2B6B51.2030403@innerpeace.org> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-8086@vger.kernel.org On Sun, Jan 19, 2003 at 10:21:53PM -0500, jerryc@innerpeace.org wrote: Jerry > > I've read that page over several times, and there was some info about > compiling ELKS itself. However, if it does say what to use to compile Dev86 (which may be installed on your linux box already rpm -q dev86 on a rpm derived distro, linux86 on a debian one) contains a compiler called bcc. So if you have a simple c program like a Hello World. Named hello.c #include main() { printf ("Hello, World!\n"); } Under linux run: bcc -o hello hello.c This will produce a file called hello which is file hello hello: Linux-8086 executable not stripped You should then be able to run this in your elks environment of choice. Hth Paul