Technology and Trends
 Linux Activists Mailing List Archives
  
Subject: compiling under minix?
Date: Tue, 3 Dec 91 21:26:28 PST
From: pmacdona@sol.UVic.CA (Peter MacDonald)
To: linux-activists@joker.cs.hut.fi

Has anyone done this?  When trying to compile Linux under Minix
I get a missing "divi.." or something on link.  I assume these
to be soft floating point routines.

Why?  I have a problem with the harddisk driver under Linux
being to fast.  I had the same problem with minix, but being smaller
and slower, I was able to do enough compiling to put a delay in the
read function of wini.c.  Linux uses GCC, which use causes so much
disk reading to happen, that compiling is out of the question.

Subject: Re: compiling under minix?
Date: Wed, 4 Dec 1991 12:57:53 +0200
From: Linus Benedict Torvalds < torvalds@cc.helsinki.fi>
In-Reply-To: Peter MacDonald's message as of Dec  3, 21:26
To: pmacdona@sol.UVic.CA (Peter MacDonald), linux-activists@joker.cs.hut.fi

Peter MacDonald: "compiling under minix?" (Dec  3, 21:26):
> Has anyone done this?  When trying to compile Linux under Minix
> I get a missing "divi.." or something on link.  I assume these
> to be soft floating point routines.
> 
> Why?  I have a problem with the harddisk driver under Linux
> being to fast.  I had the same problem with minix, but being smaller
> and slower, I was able to do enough compiling to put a delay in the
> read function of wini.c.  Linux uses GCC, which use causes so much
> disk reading to happen, that compiling is out of the question.

When compiling under minix, you are probably using an older version of
gcc (1.37.1 is the one that was on plains).  Older versions are unable
to inline the integer division routines, and use a function found in
gnulib for division instead.  Include gnulib in the final link, and all
should work. (Use the gnulib with minix - at least that one has been
tested with these functions).

		Linus