From mboxrd@z Thu Jan 1 00:00:00 1970 From: mjn3@codepoet.org (Manuel Novoa III) Subject: Re: C compiler, assembler and linker Date: Tue, 23 Jul 2002 10:25:29 -0600 Sender: linux-8086-owner@vger.kernel.org Message-ID: <20020723162529.GA20550@codepoet.org> References: <20020717013106.GA5219@codepoet.org> <47f907beec9f97ed@mayday.cix.co.uk> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <47f907beec9f97ed@mayday.cix.co.uk> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Robert de Bath Cc: Riley Williams , Linux-8086 Robert, On Tue, Jul 23, 2002 at 09:16:52AM +0100, Robert de Bath wrote: > On Tue, 16 Jul 2002, Manuel Novoa III wrote: > > > Some of the build changes only make sense if you aren't installing > > in the default locations as root. > > Humm, Manuel, you do realise that it isn't necessary to install dev86 > to use it don't you? Yes, although I had some problems in the past. Don't remember which version though. I had an older version of bcc installed (from the linux distribution I was using) and at one point the newer bcc was still calling the older bcc-cc1 unless I set BCC_EXEC_PREFIX. > I just put these two lines in a script in my $HOME/bin directory. > > #!/bin/sh - > exec /usr/src/linux_86/bin/ncc "$@" I use a similar script (with options and include path overrides), but I was using bcc rather than ncc. BTW, there was one other mod in my bcc patch that I forgot to mention. Since bcc doesn't support ## for token pasting, I was using the old k&r method (where /**/ doesn't get mapped to space as in ANSI C). But #define __PASTE(x,y) x/**/y wasn't working for me, so I patched things so it would. That was some time ago though, so I don't know if it is still a problem with stock bcc. Oh yes, and I had modifed the flags for ncc in the dev86 build to include -ansi because the ELKS headers have now been ansi-fied. Manuel