Jerome Sevilla wrote:
> Antione Leca wrote:
>> should be some reason for you to choose MINIX 2...
>
> Yes, I got a copy of the book Operating Systems: Design and
> Implementation Edition 2 by Andrew Tanenbaum.
> So I'm using Minix 2 along with the book.
I second Martijn here, if you are with the Book, VMD is not an option.
>> You are basically out of luck for gcc; when MINIX 2 was mainstream
>> (10-15 years ago) the computers did have a lot less memory than now, and
>> furthermore from version 3 up GCC became very memory-hungry.
>
> What about old versions of gcc?
I am fearing that nobody ever tried GCC 2.7.2 or 2.8.1 with 512 MB of
memory on MINIX386 2.0.2 back in 1999...
The trick here is chmem(8)... You will certainly need to increase the
heap space of several programs, including cc1, gas, gld, sh etc.
The basic work of porting GCC/binutils to Minix a.out format has been
done, so you should be able to hack it easily, either as part of the Sun
port included on the CD material, or as part of Minix-VMD.
http://www.minix3.org/previous-versions/CD-ROM-2.0/SMX/
http://www.minix-vmd.org/pub/Minix-vmd/gnu/
Also have a look at binutils-2.16 as ported for MINIX3.1, it might help
since it should use the exact same a.out format as MINIX2
> I tried downloading old versions of bash. I got bash 2.0 and bash
> 1.14. I just tried to untar them
> on my Minix 2 but there is an error, something like 'make: couldn't
> not run MakeFile; error 02' (I forgot the whole line)
Does bash require GNU make?
Minix make conforms to POSIX.2:1993 but not much more (it has include,
but no VPATH feature, for example.)
ALso GCC almost certainly requires GNU make, and perhaps bison as well.
Antoine