Path: gmdzi!unido!mcsun!news.funet.fi!hydra!klaava!torvalds
From: torva...@klaava.Helsinki.FI (Linus Benedict Torvalds)
Newsgroups: comp.os.minix
Subject: Gcc-1.40 and a posix-question
Keywords: gcc, posix
Message-ID: <1991Jul3.100050.9886@klaava.Helsinki.FI>
Date: 3 Jul 91 10:00:50 GMT
Organization: University of Helsinki
Lines: 28

Hello netlanders,

Due to a project I'm working on (in minix), I'm interested in the posix
standard definition. Could somebody please point me to a (preferably)
machine-readable format of the latest posix rules? Ftp-sites would be
nice.

As an aside for all using gcc on minix - the new version (1.40) has been
out for some weeks, and I decided to test what needed to be done to get
it working on minix (1.37.1, which is the version you can get from
plains is nice, but 1.40 is better :-). To my surpice, the answer
turned out to be - NOTHING! Gcc-1.40 compiles as-is on minix386 (with
old gcc-1.37.1), with no need to change source files (I changed the
Makefile and some paths, but that's it!). As default this results in a
compiler that uses floating point insns, but if you'd rather not,
changing 'toplev.c' to define DEFAULT_TARGET from 1 to 0 (this is from
memory - I'm not at my minix-box) will handle that too. Don't make the
libs, use the old gnulib&libc.a. I have successfully compiled 1.40 with
itself, and everything works fine (I got the newest versions of gas and
binutils at the same time, as I've heard of bugs with older versions of
ld.c). Makefile needs some chmem's (and gcc2minix if you're still using
it). 

Linus Torvalds torva...@kruuna.helsinki.fi

PS. Could someone please try to finger me from overseas, as I've
installed a "changing .plan" (made by your's truly), and I'm not certain
it works from outside? It should report a new .plan every time.

Path: gmdzi!unido!mcsun!uunet!europa.asd.contel.com!gatech!udel!mmdf
From: SILVER50%snypotva.bit...@cunyvm.cuny.edu
Newsgroups: comp.os.minix
Subject: Re: Gcc-1.40 and a posix-question
Message-ID: <57933@nigel.ee.udel.edu>
Date: 4 Jul 91 10:23:44 GMT
Sender: use...@ee.udel.edu
Lines: 2

Where can I get the new version from? Is it necessary that I get the old
version first? Is gcc a c++ compiler? Thanks a lot - Micah Silverman!

Path: gmdzi!unido!mcsun!news.funet.fi!hydra!klaava!torvalds
From: torva...@klaava.Helsinki.FI (Linus Benedict Torvalds)
Newsgroups: comp.os.minix
Subject: Re: Gcc-1.40 and a posix-question
Message-ID: <1991Jul4.130456.2808@klaava.Helsinki.FI>
Date: 4 Jul 91 13:04:56 GMT
References: <57933@nigel.ee.udel.edu>
Organization: University of Helsinki
Lines: 20

In article <57...@nigel.ee.udel.edu> SILVER50%snypotva.bit...@cunyvm.cuny.edu writes:
>Where can I get the new version from? Is it necessary that I get the old
>version first? Is gcc a c++ compiler? Thanks a lot - Micah Silverman!

Uhhuh. Maybe I wasn't too clear about gcc-1.40. You DO need 1.37.1 (or
whatever awb & company ported (available at plains)). They did all the
hard work necessary to get started on gcc (ie libraries, include-files
etc). UPDATING is easy, but you do need gcc to compile gcc (without
undue problems that is. Thanks awb et.c.)

If you do want to upgrade (I know - I like to have the newest version,
but it isn't really that necessary :-), you can find gcc-1.40 at least
on nic.funet.fi. People in the states (and other far-away places) might
want to check other sources. (And no, I haven't tried g++, which IS a
c++ compiler, maybe somebody else could tell us if it's easy/possible).

Linus (torva...@kruuna.helsinki.fi)

PS. Gcc-2.0 should be out sometime "soon" (don't know what that means),
so if you can wait for that, maybe you should.