Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!uunet!munnari.oz.au!metro!natmlab.dap.csiro.au!ditsydh.syd.dit.CSIRO.AU!evans From: evans@syd.dit.CSIRO.AU (Bruce.Evans) Newsgroups: comp.os.minix Subject: Re: Problems with 32 bits kernel Keywords: Minix 1.5, 32 bits kernel, elvis Message-ID: <1990Aug30.180442.27888@syd.dit.CSIRO.AU> Date: 30 Aug 90 18:04:42 GMT References: <3334@litp.ibp.fr> Organization: CSIRO Division of Info Tech, Sydney, Australia Lines: 27 In article <3334@litp.ibp.fr> card@masi.ibp.fr (Remy CARD) writes: > I have successfully upgraded to 1.5.10 and I have tried to >build Minix 386 with Bruce Evans' 32 bits kernel. > > Almost everything works well but I have encoutered a few >little problems : > - ps causes a 'Memory fault - core dumped' error, Compile it with -DINTEL_32BITS. Put this define in the commands and commands/ibm makefiles. You have to remember to take it out when compiling 16-bit commands. It's best to forget about those. > - elvis 1.3 crashes with the same error when called with It works well with no special treatment here. I used makefile.st. > - I can't rebuild the kernel if I am in 32 bits mode >because bcc does not contain a separate C pre-processor with >kernel/Makefile could call to translate .x files to .s files. I use Gnu cpp but it doesn't quite compile with bcc (due to a structure return). This is not hard to work around. If anyone does it, send me a note and I will supply fixes for a couple of Minix pipe bugs. It's important to use the `-traditional' flag with gnu cpp when compiling the kernel and when calling it from cppmake. -- Bruce Evans evans@syd.dit.csiro.au