home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.minix
- Path: sparky!uunet!mcsun!sunic!ericom!ericom!etlmike
- From: etlmike@jerry.ericsson.se (Mike Wilcox)
- Subject: Re: (none given)
- In-Reply-To: ALVISET%FRNSAE11.BitNet@pucc.princeton.edu's message of Wed, 9 Sep 1992 19:00:57 GMT
- Message-ID: <ETLMIKE.92Sep10173232@jerry.ericsson.se>
- Sender: news@ericsson.se
- Nntp-Posting-Host: jerry.ericsson.se
- Organization: Ericsson Ltd., Cellular Systems & Special Networks.
- References: <1992Sep9.120116.13849@udel.edu>
- Date: Thu, 10 Sep 1992 16:32:32 GMT
- Lines: 62
-
-
- In article <1992Sep9.120116.13849@udel.edu> ALVISET%FRNSAE11.BitNet@pucc.princeton.edu writes:
-
-
- In article <1992Sep3.103808.12710@mnemosyne.cs.du.edu> vromano@nyx.cs.du.edu
- (Vincenzo Romano) writes:
- >>I'm looking for a copy of the Minix Operating System recompiled by using
- >>the GNU-C compiler. I already own the Minix 1.5 but I'm sure that on my
- >>386sx machine such a recompiled OS should be faster, isn't it?
-
- Not necessarily
-
- >
- >>Can anyone help me? Can anyone tell me where I can FTP this OS or,at least
- >>a pre-compiled minix port of the GNU-C?
-
- >As far as I know, there is no gcc-compiled version of PC-minix
- >available. Gcc won't even run on the basic minix setup: you have to
- >upgrade to 386-minix by Bruce Evans (this is a good idea anyway, as it
- >allows you to run other programs that won't work under normal minix
- >otherwise). The 386-patches are available (or were when I got them) at
- >least from plains.nodak.edu, (/pub/minix/oz/ I think).
-
- [Linux Advert deleted :)]
-
- Mr Linus is wrong. There is a 32 bits Minix available from the
- Minix Centre (Look at the FAQ for details). It IS compiled with gcc
- except the kernel proper compiled with Bcc.
-
- Yup - mm and fs compiled cleanly by GCC, but not kernel.
-
- GCC generates only 32 bits code but before MINIX puts itself in
- protected mode you must use only instructions in the 16 bits set.
- So you need a compiler able to generate both 32 and 16 bits code(BCC).
- Both compilers are included with the system.
-
- All true.
-
- Unfortunately, I have gone to the effort of changing the Minix
- Centre's version of Minix-386 precisely to allow GCC to compile the
- kernel. This has involved use of a new boot program (*) that keeps
- all the 16-bit code in the booter, and uses the BIOS protected mode
- switch to jump directly to a 32-bit Minix kernel, whose start-up
- routines have been altered. In my mind, this is a much cleaner
- start-up, and the boot program is considerably better (* - Boot
- Monitor 1.3, written by Kees Bot kjb@cs.vu.nl).
-
- Now, granted I have a lot of other changes in my version of the
- kernel, but I can say that after using GCC to compile this,
- my system runs a LOT slower than when BCC compiled it in 32-bit
- mode.
-
- GCC has a lot of advantages over BCC, especially in the error message
- side, but in terms of speed of SYSTEM here, BCC wins. I know not why
- (except maybe in the context switch - not saving fs/gs).
-
-
- Mike
- --
- Mike Wilcox Guildford, Surrey, England.
- CME 20 Design Dept. Tel: +44-483-303666
- Ericsson Cellular Systems. Email: etlmike@deep-thought.ericsson.se
-